* InsertBefore operation that takes a callback. * * @param {Node} el * @param {Node} target * @param {Vue} vm - unused * @param {Function} [cb]
(el, target, vm, cb)
| 9211 | */ |
| 9212 | |
| 9213 | function beforeWithCb(el, target, vm, cb) { |
| 9214 | before(el, target); |
| 9215 | if (cb) cb(); |
| 9216 | } |
| 9217 | |
| 9218 | /** |
| 9219 | * Remove operation that takes a callback. |