MCPcopy Create free account
hub / github.com/dcloudio/mui / queue

Function queue

js/mui.animationframe.js:37–46  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

35 }
36
37 function queue(callback) {
38 var qid = animation_id();
39
40 queues[qid] = rAF(function() {
41 delete queues[qid];
42 callback.apply(animationFrame, arguments);
43 });
44
45 return qid;
46 }
47
48 function queueAfter(callback) {
49 var qid;

Callers 1

queueAfterFunction · 0.85

Calls 1

animation_idFunction · 0.85

Tested by

no test coverage detected