Some comments (no changes to code)
This commit is contained in:
@@ -11,7 +11,9 @@ ol.ASSUME_TOUCH = false;
|
||||
* @type {Object}
|
||||
*/
|
||||
ol.BrowserFeature = {
|
||||
// Do we have touch events?
|
||||
/**
|
||||
* @type {boolean} True if browser supports touch events
|
||||
*/
|
||||
HAS_TOUCH: ol.ASSUME_TOUCH ||
|
||||
(document && 'ontouchstart' in document.documentElement)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user