Author: hlship
Date: Thu Jun 30 00:38:15 2011
New Revision: 1141347
URL: http://svn.apache.org/viewvc?rev=1141347&view=rev
Log:
TAP5-999: Add some documentation to T5.dom.purgeChildren()
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-dom.js
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-dom.js
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-dom.js?rev=1141347&r1=1141346&r2=1141347&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-dom.js
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/t5-dom.js
Thu Jun 30 00:38:15 2011
@@ -15,6 +15,11 @@
T5.define("dom", function() {
+ /**
+ * Tree-walks the children of the element; for each dhild, ensure that
all
+ * event handlers, listeners and PubSub publishers for the child are
+ * removed.
+ */
function purgeChildren(element) {
var children = element.childNodes;