Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2017-01-24 12:26:45 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2017-01-24 12:26:45 +0300
commit8d95a5e76d2c045d5464454060a8bfa1018820d1 (patch)
tree24f827008cb6db0281bf8b7f314b6ad6ac7002bf /main.js
parentf9c0cdab67321496ca2c0fe6c1451660954fd01f (diff)
webgl tracking removed
Diffstat (limited to 'main.js')
-rw-r--r--main.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/main.js b/main.js
index d793ef96..6d5ec2cb 100644
--- a/main.js
+++ b/main.js
@@ -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);