You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
417 B
21 lines
417 B
define([], function(){ |
|
return { |
|
start:function( |
|
mid, |
|
referenceModule, |
|
bc |
|
){ |
|
var result = [bc.amdResources["dojo/require"]]; |
|
mid.split(",").map(function(mid){ |
|
var module = bc.amdResources[mid]; |
|
if(!module){ |
|
bc.log("legacyMissingDependency", ["reference module", referenceModule.mid, "dependency", mid]); |
|
}else{ |
|
result.push(module); |
|
} |
|
}); |
|
return result; |
|
} |
|
}; |
|
}); |
|
|
|
|