Bläddra i källkod

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

sanex3339 8 år sedan
förälder
incheckning
fcf1e99806
3 ändrade filer med 0 tillägg och 12 borttagningar
  1. 0 4
      test/dev/dev-compile-performance.ts
  2. 0 4
      test/dev/dev-runtime-performance.ts
  3. 0 4
      test/dev/dev.ts

+ 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");