Skip to content

Commit 6256c51

Browse files
committed
fixes #9871, very minor inline documentation fixes for dojox/drawing... would prefer the clean this up more, but really to do that would be to make sure this module is completely converted to modern dojo practices, which is not the case, !strict
1 parent 9334d9c commit 6256c51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drawing/Drawing.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ function(dojo, defaults, registry, keys, Mouse, Canvas, Undo, Anchors, Stencil,
1111
// extendable and customizable.
1212
// Drawing currently only initiates from HTML although it's technically not
1313
// a Dijit to keep the file size light. But if Dijit is available, Drawing
14-
// will register itself with it and can be accessed dijit.byId('myDrawing')
14+
// will register itself with it and can be accessed with registry.byId('myDrawing')
15+
// (by requiring dijit/registry)
1516
//
1617
// NOTES:
1718
// Although not Drawing and Toolbar, all other objects are created with a custom
@@ -54,7 +55,7 @@ function(dojo, defaults, registry, keys, Mouse, Canvas, Undo, Anchors, Stencil,
5455
// - Util: A collection of common tasks.
5556
//
5657
// example:
57-
// | <div dojoType="dojox.drawing.Drawing" id="drawing" defaults="myCustom.defaults"
58+
// | <div data-dojo-type="dojox.drawing.Drawing" id="drawing" defaults="myCustom.defaults"
5859
// | plugins="[{'name':'dojox.drawing.plugins.drawing.Grid', 'options':{gap:100}}]">
5960
// | </div>
6061
//

0 commit comments

Comments
 (0)