* Insert fragment before target, single node version * * @param {Node} target * @param {Boolean} withTransition
(target, withTransition)
| 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 |