added back babel-polyfill

This commit is contained in:
sanex3339
2016-06-28 16:28:49 +03:00
parent f12ff66e27
commit ccdfc8b5a4
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -2,4 +2,8 @@
import { JavaScriptObfuscator } from './src/JavaScriptObfuscator';
if (!(<any>global)._babelPolyfill) {
require('babel-polyfill');
}
module.exports = JavaScriptObfuscator;
+1
View File
@@ -16,6 +16,7 @@
"javascript-obfuscator": "./bin/javascript-obfuscator.js"
},
"dependencies": {
"babel-polyfill": "^6.9.1",
"chance": "^1.0.3",
"commander": "^2.9.0",
"escodegen": "^1.8.0",