MCPcopy Index your code
hub / github.com/purifycss/purifycss / emitTwo

Function emitTwo

lib/purifycss.es.js:91–100  ·  view source on GitHub ↗
(handler, isFn, self, arg1, arg2)

Source from the content-addressed store, hash-verified

89 }
90}
91function emitTwo(handler, isFn, self, arg1, arg2) {
92 if (isFn)
93 handler.call(self, arg1, arg2);
94 else {
95 var len = handler.length;
96 var listeners = arrayClone(handler, len);
97 for (var i = 0; i < len; ++i)
98 listeners[i].call(self, arg1, arg2);
99 }
100}
101function emitThree(handler, isFn, self, arg1, arg2, arg3) {
102 if (isFn)
103 handler.call(self, arg1, arg2, arg3);

Callers 1

purifycss.es.jsFile · 0.70

Calls 1

arrayCloneFunction · 0.70

Tested by

no test coverage detected