Skip to content

Commit f13a8c4

Browse files
committed
dojox/dnd: fix api doc formatting, refs #13101 !strict
1 parent fb04c53 commit f13a8c4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

dnd/BoundingBoxController.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -62,29 +62,29 @@ define(["dojo", "dojox"], function(dojo, dojox) {
6262
// Override-able by the client as an extra check to ensure that a bounding
6363
// box should begin to be drawn. If the client has any preconditions to when a
6464
// bounding box should be drawn, they should be included in this method.
65-
// evt: Object
65+
// evt: Object
6666
// the mouse event which caused this callback to fire.
6767
return true;
6868
},
6969

7070
boundingBoxIsViable: function(evt) {
71-
// summary:
71+
// summary:
7272
// Override-able by the client as an extra check to ensure that a bounding
7373
// box is viable. In some instances, it might not make sense that
7474
// a mouse down -> mouse move -> mouse up interaction represents a bounding box.
7575
// For example, if a dialog is open the client might want to suppress a bounding
7676
// box. This function could be used by the client to ensure that a bounding box is only
7777
// drawn on the document when certain conditions are met.
78-
// evt: Object
78+
// evt: Object
7979
// the mouse event which caused this callback to fire.
8080
return true;
8181
},
8282

8383
_onMouseDown: function(evt) {
84-
// summary:
84+
// summary:
8585
// Executed when the user mouses down on the document. Resets the
8686
// this._startX and this._startY member variables.
87-
// evt: Object
87+
// evt: Object
8888
// the mouse event which caused this callback to fire.
8989
if (this.shouldStartDrawingBox(evt) && dojo.mouseButtons.isLeft(evt)) {
9090
if (this._startX == null) {
@@ -98,24 +98,24 @@ define(["dojo", "dojox"], function(dojo, dojox) {
9898
},
9999

100100
_onMouseMove: function(evt) {
101-
// summary:
101+
// summary:
102102
// Executed when the user moves the mouse over the document. Delegates to
103103
// this._drawBoundingBox if the user is trying to draw a bounding box.
104104
// whether the user was drawing a bounding box and publishes to the
105105
// "/dojox/dnd/bounding" topic if the user is finished drawing their bounding box.
106-
// evt: Object
106+
// evt: Object
107107
// the mouse event which caused this callback to fire.
108108
this._endX = evt.clientX;
109109
this._endY = evt.clientY;
110110
this._drawBoundingBox();
111111
},
112112

113113
_onMouseUp: function(evt) {
114-
// summary:
114+
// summary:
115115
// Executed when the users mouses up on the document. Checks to see
116116
// whether the user was drawing a bounding box and publishes to the
117117
// "/dojox/dnd/bounding" topic if the user is finished drawing their bounding box.
118-
// evt: Object
118+
// evt: Object
119119
// the mouse event which caused this callback to fire.
120120
if (this._endX !== null && this.boundingBoxIsViable(evt)) {
121121
// the user has moused up ... tell the selector to check to see whether

0 commit comments

Comments
 (0)