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/manual-tests/debug-cli.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/manual-tests') diff --git a/tests/manual-tests/debug-cli.js b/tests/manual-tests/debug-cli.js index 5fba8e5..3feb981 100755 --- a/tests/manual-tests/debug-cli.js +++ b/tests/manual-tests/debug-cli.js @@ -1,8 +1,6 @@ #!/usr/bin/env node "use strict"; -global.WEB = false; - const lua = require('../../src/lua.js'); const lauxlib = require('../../src/lauxlib.js'); const lualib = require('../../src/lualib.js'); -- cgit v1.2.3-70-g09d2