Permalink
Browse files

check for jsep being undefined

  • Loading branch information...
1 parent 4002ae2 commit 75aefd47345928ae7c670da8676b846b43c37348 @ggetz ggetz committed Jul 10, 2017
Showing with 2 additions and 3 deletions.
  1. +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

Please sign in to comment.