We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f8032 commit 97b1a3dCopy full SHA for 97b1a3d
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