Skip to content

Commit

Permalink
Docstrings: clarify L.Browser.Touch (see #5266)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanSanchez committed Jan 19, 2017
1 parent 7f11fdf commit ad27106
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@

// @property touch: Boolean
// `true` for all browsers supporting [touch events](https://developer.mozilla.org/docs/Web/API/Touch_events).
// This does not necessarily mean that the browser is running in a computer with
// a touchscreen, it only means that the browser is capable of understanding
// touch events.
touch: !!touch,

// @property msPointer: Boolean
Expand Down

0 comments on commit ad27106

Please sign in to comment.