Permalink
Browse files
check for jsep being undefined
- Loading branch information...
Showing
with
2 additions
and
3 deletions.
-
+2
−3
Source/ThirdParty/jsep.js
|
|
@@ -680,9 +680,8 @@ define(function() { |
|
|
}
|
|
|
}(this));
|
|
|
|
|
|
- if (typeof jsep.noConflict === 'function') {
|
|
|
+ // `jsep` only exists when running in the browser
|
|
|
+ if (typeof jsep !== 'undefined') {
|
|
|
return jsep.noConflict();
|
|
|
}
|
|
|
-
|
|
|
- return jsep;
|
|
|
});
|
0 comments on commit
75aefd4