code: function() {
                  var nodes, i, node, self = this;
                  // Remove all children
                  if (self.firstChild) {
                      nodes = [];
                      // Collect the children
                      for (node = self.firstChild; node; node = walk(node, self)) {
                          nodes.push(node);
                      }
                      // Remove the children
                      i = nodes.length;
                      while (i--) {
                          node = nodes[i];
                          node.parent = node.firstChild = node.lastChild = node.next = node.prev = null;
                      }
                  }
                  self.firstChild = self.lastChild = null;
                  return self;
              }
docs: Removes all children of the current node.
  
  @method empty
  @return {tinymce.html.Node} The current node that got cleared.