From dea71f1aa93d232cc1d4248324e22a7733c5a53a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 8 Dec 2013 17:56:11 -0800 Subject: [PATCH] Update dojo to 1.9.2. --- vendor/dojo/dojo.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/dojo/dojo.js b/vendor/dojo/dojo.js index 54d4b8eb6..3416e9d39 100644 --- a/vendor/dojo/dojo.js +++ b/vendor/dojo/dojo.js @@ -89,7 +89,7 @@ forEach = function(vector, callback){ if(vector){ - for(var i = 0; vector[i];){ + for(var i = 0; i < vector.length;){ callback(vector[i++]); } } @@ -459,7 +459,7 @@ }else if(p=="*now"){ now = item; }else if(p!="*noref"){ - m = getModuleInfo(p, referenceModule); + m = getModuleInfo(p, referenceModule, true); cache[m.mid] = cache[urlKeyPrefix + m.url] = item; } } @@ -1004,8 +1004,8 @@ return makeModuleInfo(pid, mid, pack, compactPath(url)); }, - getModuleInfo = function(mid, referenceModule){ - return getModuleInfo_(mid, referenceModule, packs, modules, req.baseUrl, mapProgs, pathsMapProg, aliases); + getModuleInfo = function(mid, referenceModule, fromPendingCache){ + return getModuleInfo_(mid, referenceModule, packs, modules, req.baseUrl, fromPendingCache ? [] : mapProgs, fromPendingCache ? [] : pathsMapProg, fromPendingCache ? [] : aliases); }, resolvePluginResourceId = function(plugin, prid, referenceModule){