Skip to content

Commit

Permalink
fixed jshint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Colque committed Feb 26, 2014
1 parent c706def commit 8906885
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ npm-debug.log
.nodemonignore

.DS_Store
public/lib/*
db/txs/*
db/txs
db/testnet/txs/*
Expand All @@ -37,10 +36,4 @@ db/blocks
db/testnet/blocks/*
db/testnet/blocks

public/js/angularjs-all.js
public/js/main.js
public/js/vendors.js

public/css/main.css

README.html
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = function(grunt) {
},
jshint: {
all: {
src: ['Gruntfile.js', 'insight.js', 'app/**/*.js', 'lib/*.js'],
src: ['Gruntfile.js', 'insight.js', 'app/**/*.js', 'lib/*.js', 'config/*.js'],
options: {
jshintrc: true
}
Expand Down
10 changes: 5 additions & 5 deletions config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ if (process.env.INSIGHT_NETWORK === 'livenet') {
}
else {
env = 'testnet';
db = './db/testnet',
port = '3001',
b_port = '18332',
db = './db/testnet';
port = '3001';
b_port = '18332';
p2p_port = '18333';
}

Expand Down Expand Up @@ -71,8 +71,8 @@ module.exports = {
poolMatchFile: './etc/minersPoolStrings.json',

// Time to refresh the currency rate. In minutes
currencyRefresh: 10
, keys: {
currencyRefresh: 10,
keys: {
segmentio: process.env.INSIGHT_SEGMENTIO_KEY
}
};
5 changes: 2 additions & 3 deletions config/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
* Module dependencies.
*/
var express = require('express'),
helpers = require('view-helpers'),
config = require('./config')
config = require('./config'),
path = require('path');

module.exports = function(app, historicSync, peerSync) {
Expand Down Expand Up @@ -42,7 +41,7 @@ module.exports = function(app, historicSync, peerSync) {
var staticPath = path.normalize(config.rootPath + '/../../' + process.env.INSIGHT_PUBLIC_PATH);

//IMPORTANT: for html5mode, this line must to be before app.router
app.use(express.static(staticPath);
app.use(express.static(staticPath));
}

// manual helpers
Expand Down

0 comments on commit 8906885

Please sign in to comment.