[gjs/mozjs78] Revert "A super quick jasmine patch."
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/mozjs78] Revert "A super quick jasmine patch."
- Date: Mon, 6 Jul 2020 01:24:23 +0000 (UTC)
commit 29db42db67eadb72c3b87d661e5e9d9b854b4589
Author: Evan Welsh <noreply evanwelsh com>
Date: Sun Jul 5 20:22:59 2020 -0500
Revert "A super quick jasmine patch."
This reverts commit 76198edfa93b6c5ad00cff4bf2b0a06971bc5c3a.
installed-tests/js/jasmine.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/installed-tests/js/jasmine.js b/installed-tests/js/jasmine.js
index b5739a48..7cab7e00 100644
--- a/installed-tests/js/jasmine.js
+++ b/installed-tests/js/jasmine.js
@@ -31,9 +31,7 @@ var getJasmineRequireObj = (function (jasmineGlobal) {
}
jasmineRequire = exports;
} else {
- if (typeof globalThis !== 'undefined') {
- jasmineGlobal = globalThis;
- } else if (typeof window !== 'undefined' && typeof window.toString === 'function' && window.toString()
=== '[object GjsGlobal]') {
+ if (typeof window !== 'undefined' && typeof window.toString === 'function' && window.toString() ===
'[object GjsGlobal]') {
jasmineGlobal = window;
}
jasmineRequire = jasmineGlobal.jasmineRequire = jasmineGlobal.jasmineRequire || {};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]