Opened 12 years ago

Closed 11 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 11 years ago by dylan

Milestone: 1.1
Owner: changed from Neil Roberts to dylan
Status: newassigned

comment:2 Changed 11 years ago by dylan

Resolution: fixed
Status: assignedclosed

(In [12676]) fixes #5569, NodeList?.connect documentation wrong

Note: See TracTickets for help on using tickets.