Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
checkDeviceCapabilites() {
this.hasWebGL = Modernizr.webgl;
this.hasWebGLExtensions = Modernizr.webglextensions;
this.hasSpeechSynthesis = Modernizr.speechsynthesis;
this.hasSpeechRecognition = Modernizr.speechrecognition;
this.hasBatteryAPI = Modernizr.batteryapi;
this.hasLowBattery = Modernizr.lowbattery;
this.hasLowBandwidth = Modernizr.lowbandwidth;
}