equal
deleted
inserted
replaced
183 // afterStartElt = startElt.cloneNode(true) ; |
183 // afterStartElt = startElt.cloneNode(true) ; |
184 // afterStartElt.id = CY.guid() ; |
184 // afterStartElt.id = CY.guid() ; |
185 // was replaced with : |
185 // was replaced with : |
186 // afterStartElt = _yuiCloneNode(startElt) ; |
186 // afterStartElt = _yuiCloneNode(startElt) ; |
187 _yuiCloneNode = function (srcElt) { |
187 _yuiCloneNode = function (srcElt) { |
188 var ret = CY.Node.getDOMNode(CY.one('#'+srcElt.id).cloneNode(true)) ; |
188 var ret = CY.Node.getDOMNode(CY.get('#'+srcElt.id).cloneNode(true)) ; |
189 ret.id = CY.guid(); |
189 ret.id = CY.guid(); |
190 return ret ; |
190 return ret ; |
191 }; |
191 }; |
192 |
192 |
193 // will wrap textNodes into c-c spans going up the DOM tree from elt to ancestor |
193 // will wrap textNodes into c-c spans going up the DOM tree from elt to ancestor |