MCPcopy
hub / github.com/BorisMoore/jquery-tmpl / process

Function process

tests/qunit.js:778–792  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

776}
777
778function process() {
779 var start = (new Date()).getTime();
780
781 while ( config.queue.length && !config.blocking ) {
782 if ( config.updateRate <= 0 || (((new Date()).getTime() - start) < config.updateRate) ) {
783 config.queue.shift()();
784 } else {
785 window.setTimeout( process, 13 );
786 break;
787 }
788 }
789 if (!config.blocking && !config.queue.length) {
790 done();
791 }
792}
793
794function saveGlobal() {
795 config.pollution = [];

Callers 2

qunit.jsFile · 0.85
synchronizeFunction · 0.85

Calls 1

doneFunction · 0.85

Tested by

no test coverage detected