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;
}
data() {
return {
avatar: config.sponsorLogoUrl,
detail: getDetail(),
filter: '',
appName: config.name,
searching: false,
withIP: false,
uid: '',
legacyUrl: config.legacyUrl,
voidSearch: Modernizr.speechrecognition,
background,
};
},
computed: {
data() {
return {
sidenav: false,
modal: false,
avatar: config.sponsorLogoUrl,
detail: getDetail(),
filter: '',
appName: config.name,
searching: false,
withIP: false,
uid: '',
navBtn: null,
legacyUrl: config.legacyUrl,
voidSearch: Modernizr.speechrecognition,
background,
};
},
methods: {