Update dojo to 1.9.2.

This commit is contained in:
John-David Dalton
2013-12-08 17:56:11 -08:00
parent aee975b7d8
commit dea71f1aa9

8
vendor/dojo/dojo.js vendored
View File

@@ -89,7 +89,7 @@
forEach = function(vector, callback){ forEach = function(vector, callback){
if(vector){ if(vector){
for(var i = 0; vector[i];){ for(var i = 0; i < vector.length;){
callback(vector[i++]); callback(vector[i++]);
} }
} }
@@ -459,7 +459,7 @@
}else if(p=="*now"){ }else if(p=="*now"){
now = item; now = item;
}else if(p!="*noref"){ }else if(p!="*noref"){
m = getModuleInfo(p, referenceModule); m = getModuleInfo(p, referenceModule, true);
cache[m.mid] = cache[urlKeyPrefix + m.url] = item; cache[m.mid] = cache[urlKeyPrefix + m.url] = item;
} }
} }
@@ -1004,8 +1004,8 @@
return makeModuleInfo(pid, mid, pack, compactPath(url)); return makeModuleInfo(pid, mid, pack, compactPath(url));
}, },
getModuleInfo = function(mid, referenceModule){ getModuleInfo = function(mid, referenceModule, fromPendingCache){
return getModuleInfo_(mid, referenceModule, packs, modules, req.baseUrl, mapProgs, pathsMapProg, aliases); return getModuleInfo_(mid, referenceModule, packs, modules, req.baseUrl, fromPendingCache ? [] : mapProgs, fromPendingCache ? [] : pathsMapProg, fromPendingCache ? [] : aliases);
}, },
resolvePluginResourceId = function(plugin, prid, referenceModule){ resolvePluginResourceId = function(plugin, prid, referenceModule){