@ -35,7 +35,8 @@
"expect",
"$",
"io",
"app"
"app",
"moment"
],
"indent": false, // Specify indentation spacing
"devel": true, // Allow development statements e.g. `console.log();`.
@ -13,7 +13,7 @@ function spec() {
function PeerSync() {}
PeerSync.prototype.init = function(config) {
var network = config && (config.network || "testnet");
var network = config && (config.network || 'testnet');
this.peerdb = undefined;
this.sync = new Sync({
@ -24,7 +24,7 @@ angular.module('mystery.system').controller('IndexController', ['$scope', 'Globa
$scope.human_since = function(time) {
var m = moment.unix(time);
return m.max().fromNow();
}
};
$scope.index = function() {
Blocks.get({