Disable 'use strict' checking in Function node

Fixes #2743
This commit is contained in:
Nick O'Leary 2020-11-05 13:48:55 +00:00
parent b1cc7b3296
commit 15b49f4db8
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
2 changed files with 3 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -80,9 +80,8 @@ oop.inherits(NRJavaScriptWorker, Mirror);
// undef: true, // undef: true,
// unused: true, // unused: true,
esversion: 9, esversion: 9,
moz: true,
devel: true, devel: true,
browser: true, browser: false,
node: true, node: true,
laxcomma: true, laxcomma: true,
laxbreak: true, laxbreak: true,
@ -92,7 +91,7 @@ oop.inherits(NRJavaScriptWorker, Mirror);
maxerr: 100, maxerr: 100,
expr: true, expr: true,
multistr: true, multistr: true,
globalstrict: true, strict: false,
sub: true, sub: true,
asi: true asi: true
}; };