Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 699979e

Browse files
orblazernchanged
authored andcommitted
fix: Add very small memory save
1 parent 4703af7 commit 699979e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/fuse-box-loader-api/fusebox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function(__root__){
22
if (__root__["FuseBox"]) return __root__["FuseBox"];
33
var $isWebWorker = typeof WorkerGlobalScope !== "undefined";
4-
var $isBrowser = typeof window !== "undefined" && window.navigator || $isWebWorker;
4+
var $isBrowser = typeof window !== "undefined" && typeof window.navigator !== "undefined" || $isWebWorker;
55
var g = $isBrowser ? ($isWebWorker ? {} : window) : global;
66
if ($isBrowser) {
77
g["global"] = $isWebWorker ? {} : window;
@@ -396,4 +396,4 @@ if (!$isBrowser) {
396396
g["FuseBox"] = FuseBox;
397397
}
398398

399-
return __root__["FuseBox"] = FuseBox; } )(this)
399+
return __root__["FuseBox"] = FuseBox; } )(this)

0 commit comments

Comments
 (0)