Browse Source

jshint fixes

generic-ui
Manuel Araoz 11 years ago
parent
commit
1ef9cd1f22
  1. 3
      .jshintrc
  2. 2
      lib/PeerSync.js
  3. 2
      public/js/controllers/index.js

3
.jshintrc

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

2
lib/PeerSync.js

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

2
public/js/controllers/index.js

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

Loading…
Cancel
Save