mapbox / mapbox-gl-supported

A library to determine if a browser supports Mapbox GL JS
BSD 3-Clause "New" or "Revised" License
42 stars 17 forks source link

Export webGLContextAttributes directly #39

Open mourner opened 3 years ago

mourner commented 3 years ago

Now that we use named exports in v2, we should export webGLContextAttributes directly instead of making in a property of the supported function. I overlooked this but should be a quick change — only used internally in GL JS v2 and not documented, so might not need a semver-major.