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