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/lauxlib.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/lauxlib.js') diff --git a/tests/lauxlib.js b/tests/lauxlib.js index 4e37296..d484edb 100644 --- a/tests/lauxlib.js +++ b/tests/lauxlib.js @@ -2,8 +2,6 @@ const test = require('tape'); -global.WEB = false; - const lua = require('../src/lua.js'); const lauxlib = require("../src/lauxlib.js"); -- cgit v1.2.3-54-g00ecf