Skip to content

Commit

Permalink
docs: fix Point's trunc method docs (Leaflet#5987)
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii authored and IvanSanchez committed Jan 8, 2018
1 parent bf3b6a3 commit 9fb0df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geometry/Point.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Point.prototype = {
return this;
},

// @method ceil(): Point
// @method trunc(): Point
// Returns a copy of the current point with truncated coordinates (rounded towards zero).
trunc: function () {
return this.clone()._trunc();
Expand Down

0 comments on commit 9fb0df7

Please sign in to comment.