From fc9ceb582728f75edbf9581e4f53da5fbb8cd4ac Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Thu, 16 Feb 2017 10:42:40 -0600 Subject: [PATCH] Remove line causing webpack build errors. --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 397e863..6eb07d3 100644 --- a/index.js +++ b/index.js @@ -1,15 +1,15 @@ var globals = ["document", "window", "later"], - globalValues = {}; + globalValues = {}; -globals.forEach(function(g) { +globals.forEach(function (g) { if (g in global) globalValues[g] = global[g]; }); -require(process.env['LATER_COV'] ? "./later-cov" : "./later"); +require("./later"); module.exports = later; -globals.forEach(function(g) { +globals.forEach(function (g) { if (g in globalValues) global[g] = globalValues[g]; else delete global[g]; }); \ No newline at end of file