Skip to content

Commit 21130c7

Browse files
committedNov 22, 2014
lib: turn on strict mode
Turn on strict mode for the files in the lib/ directory. It helps catch bugs and can have a positive effect on performance. PR-URL: node-forward/node#64 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Fedor Indutny <[email protected]>
1 parent 963f5e8 commit 21130c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+110
-9
lines changed
 

‎lib/_debug_agent.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
var assert = require('assert');
24
var net = require('net');
35
var util = require('util');

‎lib/_debugger.js

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
2020
// USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

22+
'use strict';
23+
2224
var util = require('util'),
2325
path = require('path'),
2426
net = require('net'),

0 commit comments

Comments
 (0)
Please sign in to comment.