Skip to content

Commit 70cf7a6

Browse files
committed
Tweak docs
1 parent 5c1bf08 commit 70cf7a6

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
2-
.DS_Store
2+
.DS_Store
3+
before_commit

src/canvas.class.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@
188188
},
189189

190190
/**
191-
* Applies one implementation of 'point inside polygon' algorithm
192-
* @param e { Event } event object
193-
* @param target { fabric.Object } object to test against
194-
* @return {Boolean} true if point contains within area of given object
191+
* Checks if point is contained within an area of given object
192+
* @param {Event} e Event object
193+
* @param {fabric.Object} target Object to test against
194+
* @return {Boolean} true if point is contained within an area of given object
195195
*/
196196
containsPoint: function (e, target) {
197197
var pointer = this.getPointer(e),

src/object_interactivity.mixin.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
/**
99
* Determines which one of the four corners has been clicked
1010
* @private
11-
* @param e {Event} event object
12-
* @param offset {Object} canvas offset
11+
* @param {Event} e Event object
12+
* @param {Object} offset Canvas offset
1313
* @return {String|Boolean} corner code (tl, tr, bl, br, etc.), or false if nothing is found
1414
*/
1515
_findTargetCorner: function(e, offset) {
@@ -107,9 +107,9 @@
107107
},
108108

109109
/**
110-
* Method that returns an object with the image lines in it given the coordinates of the corners
110+
* Method that returns an object with the object edges in it, given the coordinates of the corners
111111
* @private
112-
* @param oCoords {Object} coordinates of the image corners
112+
* @param {Object} oCoords Coordinates of the image corners
113113
*/
114114
_getImageLines: function(oCoords) {
115115
return {

0 commit comments

Comments
 (0)