From 382bfe27205d5ade172fa088fcab0b2e123838e4 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sun, 10 Dec 2017 01:01:43 +1100 Subject: Use `typeof process === "undefined"` instead of WEB global This removes requirement to set global.WEB before requiring in node --- tests/tests.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/tests.js') diff --git a/tests/tests.js b/tests/tests.js index 6c799e5..b70a306 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -1,7 +1,5 @@ "use strict"; -global.WEB = false; - const lua = require("../src/lua.js"); const lauxlib = require("../src/lauxlib.js"); -- cgit v1.2.3-54-g00ecf