浏览代码

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