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