Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename ol.Geolocation.isSupported to ol.Geolocation.SUPPORTED. #209

Closed
wants to merge 1 commit into from

Conversation

fredj
Copy link
Member

@fredj fredj commented Feb 19, 2013

And add the 'const' JSDoc Tags.

@elemoine
Copy link
Member

Looks good to me.

@twpayne
Copy link
Contributor

twpayne commented Feb 19, 2013

We also test for support of Proj4js, WebGL and Canvas. It would be nice to have a consistent naming convention - currently it's a bit of a mix.

@fredj
Copy link
Member Author

fredj commented Feb 19, 2013

right, and this should probably be moved into ol.BrowserFeature

@fredj
Copy link
Member Author

fredj commented Feb 19, 2013

@twpayne what about changing ol.webgl.isSupported() to a const ol.webgl.SUPPORTED with something like:

ol.webgl.SUPPORTED = (function() {
  ...
})();

@fredj
Copy link
Member Author

fredj commented Feb 19, 2013

Consistent naming convention: fredj/openlayers@openlayers:master...supported-const
(functions to constants)

@elemoine
Copy link
Member

@fredj I like it.

@fredj
Copy link
Member Author

fredj commented Feb 19, 2013

replaced by #214

@fredj fredj closed this Feb 19, 2013
@fredj fredj deleted the geolocation-supported branch February 19, 2013 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants