Ticket #5967: NodeList.patch
| File NodeList.patch, 0.7 kB (added by guest, 11 months ago) |
|---|
-
NodeList.js
241 241 return this; 242 242 }, 243 243 244 // FIXME: toggleClass()? connectPublisher()? connectRunOnce()? 244 toggleClass: function(/*String*/ className, /*Boolean?*/ condition){ 245 // summary: 246 // toggles the specified class in every node in the list 247 // 248 this.forEach(function(i){ dojo.toggleClass(i, className, condition); }); 249 return this; 250 }, 245 251 252 253 // FIXME: connectPublisher()? connectRunOnce()? 254 246 255 place: function(/*String||Node*/ queryOrNode, /*String*/ position){ 247 256 // summary: 248 257 // places elements of this node list relative to the first element matched