Commit Graph

37 Commits

Author SHA1 Message Date
Frederic Junod
b3520f8217 Remove CANVAS_LINE_DASH from ol/has
Test if `context.setLineDash` is defined instead.
2018-12-07 13:15:23 +01:00
Matthias Schiffer
321166849b Consistently use lowercase HTML tag names
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
ahocevar
28409486a5 Make classes in ol/ available as named exports from ol 2018-06-21 18:08:17 +02:00
Tim Schaub
9cfee0f40b Named exports from ol/has 2018-02-05 10:42:47 -07:00
Tim Schaub
ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Frederic Junod
02649e2b70 Remove now unused DEVICE_ORIENTATION 2017-12-15 10:45:29 +01:00
Tim Schaub
755619fa87 Remove ENABLE_CANVAS 2017-12-12 17:18:41 -07:00
Tim Schaub
0a12ca690f Remove ASSUME_TOUCH 2017-12-12 17:15:50 -07:00
Tim Schaub
87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Marc Jansen
7d6929c710 Manual adjustment of indentation 2017-06-20 10:41:03 +02:00
Marc Jansen
d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Tim Schaub
f5aea97d3b All @api annotations imply stability 2017-02-06 09:22:05 -07:00
Tim Schaub
651c6959ab Remove ol.global 2016-09-01 23:13:00 -06:00
Tim Schaub
0ea5ded807 Remove unused ol.dom.setTransform() 2016-09-01 07:32:05 -06:00
Tim Schaub
5ce55d39ba Remove the DOM renderer 2016-09-01 07:26:55 -06:00
Tim Schaub
ff8a84a220 Deal with ol.global issues 2016-09-01 06:58:12 -06:00
Andreas Hocevar
5bb887d3ce Remove use of goog.userAgent 2016-08-31 21:10:00 +02:00
Nicholas Latham
cd6494149b Remove goog.global (#5178)
* Remove goog.global

* Correct externs location

* Use Function('return this')

* Remove global externs
2016-04-07 23:36:48 +02:00
Andreas Hocevar
0432c863c7 Use lowercase for all user agent checks 2016-02-14 14:53:30 +01:00
Andreas Hocevar
f35d0106b8 Remove goog.net.* and goog.async.AnimationDelay 2016-02-03 11:19:38 +01:00
Andreas Hocevar
6ac3f30c8f Remove goog.events.MouseWheelEvent and goog.events.MouseWheelHandler 2016-02-03 11:19:38 +01:00
Tim Schaub
29a723166d No empty blocks 2016-01-11 18:56:07 -08:00
Frederic Junod
1092f6b2a2 Remove use of goog.dom.createElement 2015-11-23 09:22:39 +01:00
Marc Jansen
9386415633 Remove usage of goog.dom.TagName enum 2015-10-12 20:45:49 +02:00
Marc Jansen
6aa75c490b Remove goog.isNull in has class 2015-10-01 09:18:53 +02:00
Tim Schaub
b36d697585 Inline goog.isDef() property checks 2015-09-27 10:21:50 -06:00
Éric Lemoine
fe69c0e354 Better docs for ol.ENABLE_[WEBGL|CANVAS|DOM] 2015-08-24 16:05:43 +02:00
Frederic Junod
b1d59366dc Remove ol.format.FormatType.BINARY 2015-04-18 17:10:15 -06:00
tsauerwein
e307579d49 Move constants from ol.has to ol 2014-11-24 09:42:10 +01:00
tsauerwein
8fcde092c7 Set the default of WEBGL_MAX_TEXTURE_SIZE to undefined
By doing so the examples will also work if WebGL is not supported.
2014-11-21 09:54:55 +01:00
tsauerwein
40c33a21eb Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API 2014-11-21 09:52:09 +01:00
Éric Lemoine
2f7c97f25a Use OES_element_index_uint when available 2014-11-20 16:39:25 +01:00
tsauerwein
581b372c6a Add constant ol.has.WEBGL_MAX_TEXTURE_SIZE 2014-11-06 10:24:14 +01:00
Frederic Junod
6e3a5ca7ca Remove unnecessary newlines 2014-09-29 09:05:22 +02:00
Tim Schaub
f11e5de156 Mark exportable ol.has properties as stable 2014-08-22 07:36:05 -06:00
Tim Schaub
947b049799 Rename ol.browserfeature to ol.has 2014-08-22 07:34:35 -06:00