diff --git a/CHANGES.md b/CHANGES.md index dc10421833d1..2cd1c2c0c442 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,10 @@ Change Log ========== -### 1.36 2017-08-01 +### 1.36 - 2017-08-01 * Fixed a bug where a Model's compressed textures were not being displayed. [#5596](https://github.com/AnalyticalGraphicsInc/cesium/pull/5596) +* Fixed a bug where jsep was undefined when using webpack [#5593](https://github.com/AnalyticalGraphicsInc/cesium/issues/5593) ### 1.35 - 2017-07-05 diff --git a/Source/ThirdParty/jsep.js b/Source/ThirdParty/jsep.js index 7c5886740f6f..c7a175a5657a 100644 --- a/Source/ThirdParty/jsep.js +++ b/Source/ThirdParty/jsep.js @@ -680,5 +680,8 @@ define(function() { } }(this)); - return jsep.noConflict(); + // `jsep` only exists when running in the browser + if (typeof jsep !== 'undefined') { + return jsep.noConflict(); + } });