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

Function add

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

Source from the content-addressed store, hash-verified

1817var target;
1818
1819function add (event, fn, once$$1) {
1820 if (once$$1) {
1821 target.$once(event, fn);
1822 } else {
1823 target.$on(event, fn);
1824 }
1825}
1826
1827function remove$1 (event, fn) {
1828 target.$off(event, fn);

Callers 1

updateListenersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected