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

Function add

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

Source from the content-addressed store, hash-verified

1823var target;
1824
1825function add (event, fn, once$$1) {
1826 if (once$$1) {
1827 target.$once(event, fn);
1828 } else {
1829 target.$on(event, fn);
1830 }
1831}
1832
1833function remove$1 (event, fn) {
1834 target.$off(event, fn);

Callers 1

updateListenersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected