Explorar o código

now using `babel-runtime` for providing polyfills and helpers

sanex3339 %!s(int64=8) %!d(string=hai) anos
pai
achega
fcf1e99806

+ 0 - 4
test/dev/dev-compile-performance.ts

@@ -2,10 +2,6 @@
 
 import * as fs from 'fs';
 
-if (!(<any>global)._babelPolyfill) {
-    require('babel-polyfill');
-}
-
 (function () {
     const JavaScriptObfuscator: any = require("../../index");
 

+ 0 - 4
test/dev/dev-runtime-performance.ts

@@ -1,9 +1,5 @@
 'use strict';
 
-if (!(<any>global)._babelPolyfill) {
-    require('babel-polyfill');
-}
-
 (function () {
     const JavaScriptObfuscator: any = require("../../index");
 

+ 0 - 4
test/dev/dev.ts

@@ -1,9 +1,5 @@
 'use strict';
 
-if (!(<any>global)._babelPolyfill) {
-    require('babel-polyfill');
-}
-
 (function () {
     const JavaScriptObfuscator: any = require("../../index");