Merge pull request #214 from fredj/supported-const

Rename *.isSupported functions to *.SUPPORTED constants
This commit is contained in:
Frédéric Junod
2013-02-19 08:35:59 -08:00
7 changed files with 29 additions and 25 deletions

View File

@@ -1,9 +1,10 @@
goog.provide('ol.renderer.webgl.isSupported');
goog.provide('ol.renderer.webgl.SUPPORTED');
goog.require('ol.webgl');
/**
* @return {boolean} Is supported.
* @const
* @type {boolean} Is supported.
*/
ol.renderer.webgl.isSupported = ol.webgl.isSupported;
ol.renderer.webgl.SUPPORTED = ol.webgl.SUPPORTED;