Merge pull request #54 from maraoz/bug/fixing-some-things

jshint fixes
This commit is contained in:
Manuel Aráoz 2014-01-15 11:08:06 -08:00
commit 579dbd4622
3 changed files with 4 additions and 3 deletions

View File

@ -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();`.

View File

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

View File

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