From fcf1e99806b7c88b91fb880457d079513139c969 Mon Sep 17 00:00:00 2001 From: sanex3339 Date: Sun, 18 Dec 2016 16:33:54 +0300 Subject: [PATCH] now using `babel-runtime` for providing polyfills and helpers --- test/dev/dev-compile-performance.ts | 4 ---- test/dev/dev-runtime-performance.ts | 4 ---- test/dev/dev.ts | 4 ---- 3 files changed, 12 deletions(-) diff --git a/test/dev/dev-compile-performance.ts b/test/dev/dev-compile-performance.ts index 9b75f874..c87cfb10 100644 --- a/test/dev/dev-compile-performance.ts +++ b/test/dev/dev-compile-performance.ts @@ -2,10 +2,6 @@ import * as fs from 'fs'; -if (!(global)._babelPolyfill) { - require('babel-polyfill'); -} - (function () { const JavaScriptObfuscator: any = require("../../index"); diff --git a/test/dev/dev-runtime-performance.ts b/test/dev/dev-runtime-performance.ts index 271b9c5b..dbd45639 100644 --- a/test/dev/dev-runtime-performance.ts +++ b/test/dev/dev-runtime-performance.ts @@ -1,9 +1,5 @@ 'use strict'; -if (!(global)._babelPolyfill) { - require('babel-polyfill'); -} - (function () { const JavaScriptObfuscator: any = require("../../index"); diff --git a/test/dev/dev.ts b/test/dev/dev.ts index 5307d3d8..e44e814c 100644 --- a/test/dev/dev.ts +++ b/test/dev/dev.ts @@ -1,9 +1,5 @@ 'use strict'; -if (!(global)._babelPolyfill) { - require('babel-polyfill'); -} - (function () { const JavaScriptObfuscator: any = require("../../index");