1.0.0 • Published 9 years ago
webgl-help v1.0.0
webgl-help
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)
1.0.0
9 years ago