code: function() {
      var node = this.firstViewNode;
      var next;
  
      if (node.parentNode !== this) {
        // Remove all the nodes and put them back into this fragment
        while (node) {
          next = (node === this.lastViewNode) ? null : node.nextSibling;
          this.appendChild(node);
          node = next;
        }
      }
  
      this.detached();
    }
docs: Removes a view from the DOM. A view is a DocumentFragment, so `remove()` returns all its nodes to itself.