Created
March 2, 2010 14:59
-
-
Save apipkin/319560 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// when i do | |
Y.delegate('click',function(e){},Y.one('body'),Y.one('form')); | |
// It stops in Substitute.replace() | |
replace: function(newNode) { // newNode = /[|:,]/g | |
var node = this._node; // this._node = form | |
node.parentNode.replaceChild(newNode, node); // fails! "Node cannot be inserted at the specified point in the hierarchy" code: "3" | |
return this; | |
}, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment