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

Function add

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

Source from the content-addressed store, hash-verified

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

Callers 1

updateListenersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected