MCPcopy
hub / github.com/moxiecode/plupload / takeGlobalQueue

Function takeGlobalQueue

tests/js/require.js:556–568  ·  view source on GitHub ↗

* Internal method to transfer globalQueue items to this context's * defQueue.

()

Source from the content-addressed store, hash-verified

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) {

Callers 2

intakeDefinesFunction · 0.85
newContextFunction · 0.85

Calls 1

eachFunction · 0.70

Tested by

no test coverage detected