From 1354d17270961fff662d40f90521223f8fd0d73b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 14 Aug 2012 18:59:10 +0400 Subject: update dojo to 1.7.3 --- lib/dojo/NodeList-html.js | 46 ++-------------------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) (limited to 'lib/dojo/NodeList-html.js') diff --git a/lib/dojo/NodeList-html.js b/lib/dojo/NodeList-html.js index bc8da9d86..ba84ee772 100644 --- a/lib/dojo/NodeList-html.js +++ b/lib/dojo/NodeList-html.js @@ -4,47 +4,5 @@ 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("
  • 1
  • 2
  • 3
  • ", - // | { - // | parseContent: true, - // | onBegin: function(){ - // | this.content = this.content.replace(/([0-9])/g, this.id + ": $1"); - // | this.inherited("onBegin", arguments); - // | } - // | }).removeClass("notdone").addClass("done"); - - var dhs = new dojo.html._ContentSetter(params || {}); - this.forEach(function(elm){ - dhs.node = elm; - dhs.set(content); - dhs.tearDown(); - }); - return this; // dojo.NodeList - } -}); - -} +//>>built +define("dojo/NodeList-html",["./query","./_base/lang","./html"],function(_1,_2,_3){var _4=_1.NodeList;_2.extend(_4,{html:function(_5,_6){var _7=new _3._ContentSetter(_6||{});this.forEach(function(_8){_7.node=_8;_7.set(_5);_7.tearDown();});return this;}});return _4;}); \ No newline at end of file -- cgit v1.2.3-54-g00ecf