Remove legacy IE support

This commit is contained in:
Frederic Junod
2015-09-28 15:36:43 +02:00
parent 6c5775e6f6
commit e877a21b8e
6 changed files with 18 additions and 271 deletions
-19
View File
@@ -1,5 +1,3 @@
goog.require('goog.userAgent');
goog.provide('ol');
@@ -120,14 +118,6 @@ ol.ENABLE_VECTOR = true;
ol.ENABLE_WEBGL = true;
/**
* @define {boolean} Support legacy IE (7-8). Default is `false`.
* If set to `true`, `goog.array.ASSUME_NATIVE_FUNCTIONS` must be set
* to `false` because legacy IE do not support ECMAScript 5 array functions.
*/
ol.LEGACY_IE_SUPPORT = false;
/**
* @define {number} The size in pixels of the first atlas image. Default is
* `256`.
@@ -135,15 +125,6 @@ ol.LEGACY_IE_SUPPORT = false;
ol.INITIAL_ATLAS_SIZE = 256;
/**
* Whether the current browser is legacy IE
* @const
* @type {boolean}
*/
ol.IS_LEGACY_IE = goog.userAgent.IE &&
!goog.userAgent.isVersionOrHigher('9.0') && goog.userAgent.VERSION !== '';
/**
* @define {number} The maximum size in pixels of atlas images. Default is
* `-1`, meaning it is not used (and `ol.WEBGL_MAX_TEXTURE_SIZE` is