Skip to content

Commit

Permalink
Add 'use-strict' declarations
Browse files Browse the repository at this point in the history
These are required to enable let/const in Node.js 4. We can't use the
`--use-strict` flag, because not all modules we use support it.
  • Loading branch information
orangejulius committed Oct 26, 2016
1 parent 1de20a9 commit ddc19ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/streams/documentStream.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const through = require( 'through2' );

const peliasModel = require( 'pelias-model' );
Expand Down
2 changes: 2 additions & 0 deletions test/streams/documentStream.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const tape = require( 'tape' );
const event_stream = require( 'event-stream' );

Expand Down

0 comments on commit ddc19ac

Please sign in to comment.