diff options
Diffstat (limited to 'lib/dojo/NodeList-html.js')
-rw-r--r-- | lib/dojo/NodeList-html.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/dojo/NodeList-html.js b/lib/dojo/NodeList-html.js new file mode 100644 index 000000000..ccc6f10ae --- /dev/null +++ b/lib/dojo/NodeList-html.js @@ -0,0 +1,21 @@ +/* + Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + + +if(!dojo._hasResource["dojo.NodeList-html"]){ +dojo._hasResource["dojo.NodeList-html"]=true; +dojo.provide("dojo.NodeList-html"); +dojo.require("dojo.html"); +dojo.extend(dojo.NodeList,{html:function(_1,_2){ +var _3=new dojo.html._ContentSetter(_2||{}); +this.forEach(function(_4){ +_3.node=_4; +_3.set(_1); +_3.tearDown(); +}); +return this; +}}); +} |