MCPcopy Create free account
hub / github.com/Yaffle/EventSource / fire

Function fire

tests/eventsource.js:700–708  ·  view source on GitHub ↗
(that, f, event)

Source from the content-addressed store, hash-verified

698 };
699
700 var fire = function (that, f, event) {
701 try {
702 if (typeof f === "function") {
703 f.call(that, event);
704 }
705 } catch (e) {
706 throwError(e);
707 }
708 };
709
710 function EventSourcePolyfill(url, options) {
711 EventTarget.call(this);

Callers 3

onStartFunction · 0.70
onProgressFunction · 0.70
onFinishFunction · 0.70

Calls 1

throwErrorFunction · 0.70

Tested by

no test coverage detected