Преглед на файлове

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

sanex3339 преди 8 години
родител
ревизия
fcf1e99806
променени са 3 файла, в които са добавени 0 реда и са изтрити 12 реда
  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");