Opened 11 years ago

Closed 11 years ago

#8628 closed defect (fixed)

Typo in code example for dojo.publish

Reported by: rapaul Owned by: bill
Priority: low Milestone: 1.3
Component: Events Version: 1.2.3
Keywords: typo api example Cc: Robert Coup
Blocked By: Blocking:

Description

The code example shown at http://api.dojotoolkit.org/jsdoc/dojo/1.2/dojo.publish is missing a trailing bracket.

dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); };
dojo.publish("alerts", [ "read this", "hello world" ]);

Should be:

dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); });
dojo.publish("alerts", [ "read this", "hello world" ]);

Change History (3)

comment:1 Changed 11 years ago by bill

Milestone: tbd1.3
Owner: changed from sjmiles to bill
Status: newassigned

comment:2 Changed 11 years ago by bill

(In [16661]) Fix doc typo, refs #8628 !strict

comment:3 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.