Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 3d73b31

Browse files
committed
add support for node-webkit
Browsers will always have `window` and possibly `global` with node-webkit. Node will never have `window` but always have `global`.
1 parent 2a5efd5 commit 3d73b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/polyfill-wrapper-end.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ function __eval(__source, __global, load) {
2626
System.register = __curRegister;
2727
}
2828

29-
})(typeof global !== 'undefined' ? global : this);
29+
})(typeof window == 'undefined' ? global : this);

0 commit comments

Comments
 (0)