Opened 13 years ago
Closed 13 years ago
#5569 closed defect (fixed)
NodeList.connect documentation wrong
Reported by: | guest | Owned by: | dylan |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Doc parser | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
On the documentation website (http://redesign.dojotoolkit.org/?q=jsdoc/dojo/HEAD/object/dojo.NodeList.connect) it says:
Example: add an onclick handler to every button on the page: dojo.query("onclick", function(e){ console.debug("clicked!"); });
I think it is meant to say:
dojo.query("div:nth-child(odd)").connect("onclick", function(e){ console.debug("clicked!"); });
Change History (2)
comment:1 Changed 13 years ago by
Milestone: | → 1.1 |
---|---|
Owner: | changed from Neil Roberts to dylan |
Status: | new → assigned |
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [12676]) fixes #5569, NodeList?.connect documentation wrong