Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15330025
D11430.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D11430.diff
View Options
diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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 @@
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
--- a/support/lint/node.jshintrc
+++ b/support/lint/node.jshintrc
@@ -12,6 +12,7 @@
"expr": true,
"loopfunc": true,
+ "strict": true,
"sub": true,
"globals": {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 8, 7:15 AM (21 h, 12 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7378095
Default Alt Text
D11430.diff (2 KB)
Attached To
Mode
D11430: Enable "strict" mode for NodeJS
Attached
Detach File
Event Timeline
Log In to Comment