@@ -210,7 +210,7 @@ this.createjs = this.createjs || {};
210210 * var type = item.type;
211211 *
212212 * // Add any images to the page body.
213- * if (type == createjs.LoadQueue .IMAGE) {
213+ * if (type == createjs.Types .IMAGE) {
214214 * document.body.appendChild(event.result);
215215 * }
216216 * }
@@ -1157,7 +1157,7 @@ this.createjs = this.createjs || {};
11571157
11581158 // Only worry about script order when using XHR to load scripts. Tags are only loading one at a time.
11591159 if ( ( this . maintainScriptOrder
1160- && item . type == createjs . LoadQueue . JAVASCRIPT
1160+ && item . type == createjs . Types . JAVASCRIPT
11611161 //&& loader instanceof createjs.XHRLoader //NOTE: Have to track all JS files this way
11621162 )
11631163 || item . maintainOrder === true ) {
@@ -1500,7 +1500,7 @@ this.createjs = this.createjs || {};
15001500 p . _finishOrderedItem = function ( loader , loadFailed ) {
15011501 var item = loader . getItem ( ) ;
15021502
1503- if ( ( this . maintainScriptOrder && item . type == createjs . LoadQueue . JAVASCRIPT )
1503+ if ( ( this . maintainScriptOrder && item . type == createjs . Types . JAVASCRIPT )
15041504 || item . maintainOrder ) {
15051505
15061506 //TODO: Evaluate removal of the _currentlyLoadingScript
@@ -1543,7 +1543,7 @@ this.createjs = this.createjs || {};
15431543 } // This has completed, and been processed. Move on.
15441544
15451545 var loadItem = this . _loadedResults [ item . id ] ;
1546- if ( item . type == createjs . LoadQueue . JAVASCRIPT ) {
1546+ if ( item . type == createjs . Types . JAVASCRIPT ) {
15471547 // Append script tags to the head automatically.
15481548 createjs . DomUtils . appendToHead ( loadItem ) ;
15491549 }
@@ -1567,7 +1567,7 @@ this.createjs = this.createjs || {};
15671567
15681568 // Since LoadQueue needs maintain order, we can't append scripts in the loader.
15691569 // So we do it here instead. Or in _checkScriptLoadOrder();
1570- if ( ! this . maintainScriptOrder && item . type == createjs . LoadQueue . JAVASCRIPT ) {
1570+ if ( ! this . maintainScriptOrder && item . type == createjs . Types . JAVASCRIPT ) {
15711571 var tag = loader . getTag ( ) ;
15721572 createjs . DomUtils . appendToHead ( tag ) ;
15731573 }
@@ -1591,7 +1591,7 @@ this.createjs = this.createjs || {};
15911591 return true ;
15921592 }
15931593 var item = loader . getItem ( ) ;
1594- if ( item . type != createjs . LoadQueue . JAVASCRIPT ) {
1594+ if ( item . type != createjs . Types . JAVASCRIPT ) {
15951595 return true ;
15961596 }
15971597 if ( this . _currentlyLoadingScript ) {
0 commit comments