소스 검색

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