We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 68719dd + 97b1a3d commit 6e00835Copy full SHA for 6e00835
packages/loader/lib/main.js
@@ -2,7 +2,8 @@ var define, requireModule, require, requirejs, Ember;
2
var mainContext = this;
3
4
(function() {
5
- var isNode = typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';
+ var isNode = typeof window === 'undefined' &&
6
+ typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';
7
8
if (!isNode) {
9
Ember = this.Ember = this.Ember || {};
0 commit comments