()
| 1242 | } |
| 1243 | |
| 1244 | function intakeDefines() { |
| 1245 | var args; |
| 1246 | |
| 1247 | //Any defined modules in the global queue, intake them now. |
| 1248 | takeGlobalQueue(); |
| 1249 | |
| 1250 | //Make sure any remaining defQueue items get properly processed. |
| 1251 | while (defQueue.length) { |
| 1252 | args = defQueue.shift(); |
| 1253 | if (args[0] === null) { |
| 1254 | return onError(makeError('mismatch', 'Mismatched anonymous define() module: ' + |
| 1255 | args[args.length - 1])); |
| 1256 | } else { |
| 1257 | //args are id, deps, factory. Should be normalized by the |
| 1258 | //define() function. |
| 1259 | callGetModule(args); |
| 1260 | } |
| 1261 | } |
| 1262 | context.defQueueMap = {}; |
| 1263 | } |
| 1264 | |
| 1265 | context = { |
| 1266 | config: config, |
no test coverage detected
searching dependent graphs…