MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / singleBefore

Function singleBefore

06.Router/basic/js/vue.js:3806–3813  ·  view source on GitHub ↗

* Insert fragment before target, single node version * * @param {Node} target * @param {Boolean} withTransition

(target, withTransition)

Source from the content-addressed store, hash-verified

3804 */
3805
3806 function singleBefore(target, withTransition) {
3807 this.inserted = true;
3808 var method = withTransition !== false ? beforeWithTransition : before;
3809 method(this.node, target, this.vm);
3810 if (inDoc(this.node)) {
3811 this.callHook(attach);
3812 }
3813 }
3814
3815 /**
3816 * Remove fragment, single node version

Callers

nothing calls this directly

Calls 2

methodFunction · 0.70
inDocFunction · 0.70

Tested by

no test coverage detected