jshint fixes

This commit is contained in:
Manuel Araoz 2014-01-15 16:05:26 -03:00
parent 237bb81e19
commit 1ef9cd1f22
3 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,8 @@
"expect",
"$",
"io",
"app"
"app",
"moment"
],
"indent": false, // Specify indentation spacing
"devel": true, // Allow development statements e.g. `console.log();`.

View File

@ -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({

View File

@ -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({