/* Copyright (c) 2004-2011, 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"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo.NodeList-html"] = true; dojo.provide("dojo.NodeList-html"); dojo.require("dojo.html"); /*===== dojo["NodeList-html"] = { // summary: Adds a chainable html method to dojo.query() / Nodelist instances for setting/replacing node content }; =====*/ dojo.extend(dojo.NodeList, { html: function(content, /* Object? */params){ // summary: // see `dojo.html.set()`. Set the content of all elements of this NodeList // // description: // Based around `dojo.html.set()`, set the content of the Elements in a // NodeList to the given content (string/node/nodelist), with optional arguments // to further tune the set content behavior. // // example: // | dojo.query(".thingList").html("