* Remove fragment, multi-nodes version
()
| 3853 | */ |
| 3854 | |
| 3855 | function multiRemove() { |
| 3856 | this.inserted = false; |
| 3857 | var self = this; |
| 3858 | var shouldCallRemove = inDoc(this.node); |
| 3859 | this.beforeRemove(); |
| 3860 | removeNodeRange(this.node, this.end, this.vm, this.frag, function () { |
| 3861 | if (shouldCallRemove) { |
| 3862 | self.callHook(detach); |
| 3863 | } |
| 3864 | self.destroy(); |
| 3865 | }); |
| 3866 | } |
| 3867 | |
| 3868 | /** |
| 3869 | * Prepare the fragment for removal. |
nothing calls this directly
no test coverage detected