Skip to content

provide useful help for webgl support, derived from get.webgl.org

License

Notifications You must be signed in to change notification settings

mapbox/webgl-help

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webgl-help

build status

Provide useful upgrading & debugging information to users with WebGL disabled or unavailable.

API

webglHelp

Parameters

  • userAgentString string the contents of navigator.userAgent

Examples

var webglHelp = require('webgl-help');
// get link for troubleshooting
var links = webglHelp(navigator.userAgent);
if (links) {
  // add links.troubleshooting url
}

Returns Object upgrade & troubleshooting urls (or null if not found)

About

provide useful help for webgl support, derived from get.webgl.org

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published