Avoid Content Security Policy unsafe-eval issue

pull/122/head
Michael Mclaughlin 6 years ago
parent 2e75623cc3
commit 903b98877d

@ -4814,8 +4814,7 @@
// Browser.
} else {
if (!globalScope) {
globalScope = typeof self != 'undefined' && self && self.self == self
? self : Function('return this')();
globalScope = typeof self != 'undefined' && self && self.self == self ? self : window;
}
noConflict = globalScope.Decimal;

Loading…
Cancel
Save