Opened 12 years ago
Closed 12 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 12 years ago by
Milestone: | tbd → 1.3 |
---|---|
Owner: | changed from sjmiles to bill |
Status: | new → assigned |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [16661]) Fix doc typo, refs #8628 !strict