Comparing version 3.1.2 to 3.1.3
@@ -0,0 +0,0 @@ { |
@@ -74,12 +74,8 @@ /** @module gl-util/context */ | ||
if (!o.gl) { | ||
try { | ||
o.gl = o.canvas.getContext('webgl', o.attrs) | ||
} catch (e) { | ||
['webgl', 'experimental-webgl', 'webgl-experimental'].some(function (c) { | ||
try { | ||
o.gl = o.canvas.getContext('experimental-webgl', o.attrs) | ||
} | ||
catch (e) { | ||
o.gl = o.canvas.getContext('webgl-experimental', o.attrs) | ||
} | ||
} | ||
o.gl = o.canvas.getContext(c, o.attrs); | ||
} catch (e) { /* no-op */ } | ||
return o.gl; | ||
}); | ||
} | ||
@@ -86,0 +82,0 @@ |
{ | ||
"name": "gl-util", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Set of practical webgl utils", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31148
759