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