* Internal method to transfer globalQueue items to this context's * defQueue.
()
| 556 | * defQueue. |
| 557 | */ |
| 558 | function takeGlobalQueue() { |
| 559 | //Push all the globalDefQueue items into the context's defQueue |
| 560 | if (globalDefQueue.length) { |
| 561 | each(globalDefQueue, function(queueItem) { |
| 562 | var id = queueItem[0]; |
| 563 | if (typeof id === 'string') { |
| 564 | context.defQueueMap[id] = true; |
| 565 | } |
| 566 | defQueue.push(queueItem); |
| 567 | }); |
| 568 | globalDefQueue = []; |
| 569 | } |
| 570 | } |
| 571 | |
| 572 | handlers = { |
| 573 | 'require': function (mod) { |
no test coverage detected
searching dependent graphs…