From d2c0cebc96099e725d602fae69ce26a43b4448a5 Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Fri, 13 Nov 2015 22:04:56 +0300 Subject: [PATCH] Add missed "use strict" --- lib/worker.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/worker.js b/lib/worker.js index 05bf84e..5367d92 100644 --- a/lib/worker.js +++ b/lib/worker.js @@ -3,10 +3,12 @@ * addon and makes it available for Node. */ +"use strict"; + try { module.exports = require("../build/Release/worker"); } catch(e) { // Do nothing for a moment. Everything will work except the functions - // that uses worker routines. + // that use worker routines. // TODO(Kagami) Provide pure JS fallback. }