diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2017-01-24 12:26:45 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2017-01-24 12:26:45 +0300 |
commit | 8d95a5e76d2c045d5464454060a8bfa1018820d1 (patch) | |
tree | 24f827008cb6db0281bf8b7f314b6ad6ac7002bf /main.js | |
parent | f9c0cdab67321496ca2c0fe6c1451660954fd01f (diff) |
webgl tracking removed
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -52,17 +52,6 @@ $(document).ready(function () { } }); - - // log webgl capability - // it would seem the webgl "enabling" through advanced settings will be ignored in the future - // and webgl will be supported if gpu supports it by default (canary 40.0.2175.0), keep an eye on this one - var canvas = document.createElement('canvas'); - if (window.WebGLRenderingContext && (canvas.getContext('webgl') || canvas.getContext('experimental-webgl'))) { - googleAnalytics.sendEvent('Capability', 'WebGL', 'true'); - } else { - googleAnalytics.sendEvent('Capability', 'WebGL', 'false'); - } - // log library versions in console to make version tracking easier console.log('Libraries: jQuery - ' + $.fn.jquery + ', d3 - ' + d3.version + ', three.js - ' + THREE.REVISION); |