MCPcopy Create free account
hub / github.com/TruthHun/BookStack / add

Function add

static/vuejs/vue.runtime.esm.js:1815–1821  ·  view source on GitHub ↗
(event, fn, once$$1)

Source from the content-addressed store, hash-verified

1813var target;
1814
1815function add (event, fn, once$$1) {
1816 if (once$$1) {
1817 target.$once(event, fn);
1818 } else {
1819 target.$on(event, fn);
1820 }
1821}
1822
1823function remove$1 (event, fn) {
1824 target.$off(event, fn);

Callers 1

updateListenersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected