Method _.Node.replace
Replaces one DOM node with another.
- Calling Convention:
-
_.Node.remove(oldNode, newNode)
- Parameters:
-
- oldNode
- The node to be removed.
- newNode
- The node to put in it's place
- Returns:
- A reference to newNode