From 4ddcb2080745db60b893bf63079b7f174bb86da5 Mon Sep 17 00:00:00 2001 From: eden lane Date: Tue, 19 Apr 2016 11:58:30 +0300 Subject: [PATCH] fix(babel): replace window with global I'm pretty sure that here should be `global` instead of `window`. Does `window` work for you? I have a ReferenceError. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index b27cda4..f705a7f 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,4 @@ -if (!window._babelPolyfill) { +if (!global._babelPolyfill) { require('babel-polyfill'); } import API from './functions/api'; -- 2.34.1