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/loslib.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/loslib.js') diff --git a/tests/loslib.js b/tests/loslib.js index 2470359..5f49043 100644 --- a/tests/loslib.js +++ b/tests/loslib.js @@ -2,8 +2,6 @@ const test = require('tape'); -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-54-g00ecf