mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Update dojo to 1.9.2.
This commit is contained in:
8
vendor/dojo/dojo.js
vendored
8
vendor/dojo/dojo.js
vendored
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user