Skip to content

Commit

Permalink
Merge pull request #1 from patrykwegrzyn/master
Browse files Browse the repository at this point in the history
Fix for SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
  • Loading branch information
Dongss authored Oct 11, 2016
2 parents f99be61 + 23c1238 commit 221b1d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict"
const myEvents = require('./libs/events');
const myValidator = require('./libs/validator');

Expand Down
1 change: 1 addition & 0 deletions libs/events.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict"
const axon = require('pm2-axon');
const sub = axon.socket('sub-emitter');
const exec = require('child_process').exec;
Expand Down
1 change: 1 addition & 0 deletions libs/validator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"use strict"
const fs = require('fs');

let validator = {
Expand Down

0 comments on commit 221b1d7

Please sign in to comment.