diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js index 7d222d3b1c..9b0bff0837 100644 --- a/support/aphlict/server/aphlict_server.js +++ b/support/aphlict/server/aphlict_server.js @@ -1,3 +1,5 @@ +'use strict'; + var JX = require('./lib/javelin').JX; var http = require('http'); var https = require('https'); diff --git a/support/aphlict/server/lib/AphlictAdminServer.js b/support/aphlict/server/lib/AphlictAdminServer.js index 0166475a55..55a1e15e4e 100644 --- a/support/aphlict/server/lib/AphlictAdminServer.js +++ b/support/aphlict/server/lib/AphlictAdminServer.js @@ -1,3 +1,5 @@ +'use strict'; + var JX = require('./javelin').JX; require('./AphlictListenerList'); diff --git a/support/aphlict/server/lib/AphlictClientServer.js b/support/aphlict/server/lib/AphlictClientServer.js index da139cc221..4ee6be0054 100644 --- a/support/aphlict/server/lib/AphlictClientServer.js +++ b/support/aphlict/server/lib/AphlictClientServer.js @@ -1,3 +1,5 @@ +'use strict'; + var JX = require('./javelin').JX; require('./AphlictListenerList'); diff --git a/support/aphlict/server/lib/AphlictListener.js b/support/aphlict/server/lib/AphlictListener.js index 809a244a8e..e23105fb6f 100644 --- a/support/aphlict/server/lib/AphlictListener.js +++ b/support/aphlict/server/lib/AphlictListener.js @@ -1,3 +1,5 @@ +'use strict'; + var JX = require('./javelin').JX; JX.install('AphlictListener', { diff --git a/support/aphlict/server/lib/AphlictListenerList.js b/support/aphlict/server/lib/AphlictListenerList.js index 9edefcdd5d..22f2c7fc70 100644 --- a/support/aphlict/server/lib/AphlictListenerList.js +++ b/support/aphlict/server/lib/AphlictListenerList.js @@ -1,3 +1,5 @@ +'use strict'; + var JX = require('./javelin').JX; require('./AphlictListener'); diff --git a/support/aphlict/server/lib/AphlictLog.js b/support/aphlict/server/lib/AphlictLog.js index 654f98f308..77d40793cb 100644 --- a/support/aphlict/server/lib/AphlictLog.js +++ b/support/aphlict/server/lib/AphlictLog.js @@ -1,3 +1,5 @@ +'use strict'; + var JX = require('./javelin').JX; var fs = require('fs'); @@ -22,7 +24,7 @@ JX.install('AphlictLog', { this._logs.push(fs.createWriteStream(path, { flags: 'a', encoding: 'utf8', - mode: 0664, + mode: '0664', })); return this; }, diff --git a/support/lint/node.jshintrc b/support/lint/node.jshintrc index d0e7626761..f7ade8d7f4 100644 --- a/support/lint/node.jshintrc +++ b/support/lint/node.jshintrc @@ -12,6 +12,7 @@ "expr": true, "loopfunc": true, + "strict": true, "sub": true, "globals": {