Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Commit

Permalink
strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed Mar 24, 2017
1 parent 8915301 commit 6256331
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const fs = require(`fs`);
const randomstring = require(`randomstring`);
const shoe = require(`shoe`);
Expand All @@ -21,7 +23,7 @@ function callback(req, res) {

// index
if (/^\/$/.test(path)) {
let Location = null;
Location = null;

// generate different path id if already being used
do {
Expand Down
2 changes: 2 additions & 0 deletions static/scripts/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -9108,6 +9108,8 @@ function through (write, end, opts) {

}).call(this,require('_process'))
},{"_process":12,"stream":28}],39:[function(require,module,exports){
'use strict';

const shoe = require('shoe');
const through = require('through');
const fileToBase64 = require('filetobase64');
Expand Down
2 changes: 2 additions & 0 deletions static/scripts/client.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const shoe = require('shoe');
const through = require('through');
const fileToBase64 = require('filetobase64');
Expand Down

0 comments on commit 6256331

Please sign in to comment.