MCPcopy Index your code
hub / github.com/TruthHun/BookStack / activeFireEvent

Function activeFireEvent

static/word2md/mammoth.browser.js:4882–4901  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

4880};
4881
4882var activeFireEvent = function (name) {
4883 var globalEventFired = false;
4884 try {
4885 globalEventFired = fireGlobalEvent.apply(null, arguments);
4886 } catch (e) {
4887 async.throwLater(e);
4888 globalEventFired = true;
4889 }
4890
4891 var domEventFired = false;
4892 try {
4893 domEventFired = fireDomEvent(name,
4894 eventToObjectGenerator[name].apply(null, arguments));
4895 } catch (e) {
4896 async.throwLater(e);
4897 domEventFired = true;
4898 }
4899
4900 return domEventFired || globalEventFired;
4901};
4902
4903Promise.config = function(opts) {
4904 opts = Object(opts);

Callers 2

warnFunction · 0.70
fireRejectionEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected