Remove ASSUME_TOUCH

This commit is contained in:
Tim Schaub
2017-12-12 17:08:50 -07:00
parent 8bf00cbfb7
commit 0a12ca690f
2 changed files with 2 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
/**
* @module ol/has
*/
import {ENABLE_CANVAS, ASSUME_TOUCH, HAS_WEBGL} from './index.js';
import {ENABLE_CANVAS, HAS_WEBGL} from './index.js';
var _ol_has_ = {};
@@ -105,7 +105,7 @@ _ol_has_.GEOLOCATION = 'geolocation' in navigator;
* @type {boolean}
* @api
*/
_ol_has_.TOUCH = ASSUME_TOUCH || 'ontouchstart' in window;
_ol_has_.TOUCH = 'ontouchstart' in window;
/**