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

Function add

static/vuejs/vue.runtime.common.js:1817–1823  ·  view source on GitHub ↗
(event, fn, once$$1)

Source from the content-addressed store, hash-verified

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

Callers 1

updateListenersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected