Comparing version 3.0.5 to 3.0.6
@@ -42,3 +42,3 @@ /** @module gl-util/context */ | ||
if (typeof o.container === 'string') { | ||
let c = document.querySelector(o.container) | ||
var c = document.querySelector(o.container) | ||
if (!o.container) throw Error(`Element '${o.container}' is not found`) | ||
@@ -45,0 +45,0 @@ o.container = c |
{ | ||
"name": "gl-util", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "Set of practical webgl utils", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |