diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-16 23:49:31 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-16 23:49:31 +0000 |
commit | f90791f2f7b48d7e08ce08f7ead498e1191a96b8 (patch) | |
tree | a829513568b183d718280c1a81428adc5637e0ac /sca-cpp/trunk/modules/js/htdocs/xmlutil.js | |
parent | 999c66e0e2398c38007b437f8c14154b725203a9 (diff) |
Add sample widget components and a page to edit them, plus minor user interaction fixes.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1059710 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/js/htdocs/xmlutil.js')
-rw-r--r-- | sca-cpp/trunk/modules/js/htdocs/xmlutil.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/js/htdocs/xmlutil.js b/sca-cpp/trunk/modules/js/htdocs/xmlutil.js index 0edaf400af..d8a20e7cae 100644 --- a/sca-cpp/trunk/modules/js/htdocs/xmlutil.js +++ b/sca-cpp/trunk/modules/js/htdocs/xmlutil.js @@ -34,6 +34,16 @@ function nodeList(n) { } /** + * Append a list of nodes to a parent node. + */ +function appendNodes(nodes, p) { + if (isNil(nodes)) + return p; + p.appendChild(car(nodes)); + return appendNodes(cdr(nodes), p); +}; + +/** * Return the child attributes of an element. */ function childAttributes(e) { |