Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
super();
// Resolve warning about scroll performance
// See https://developers.google.com/web/updates/2016/06/passive-event-listeners
setPassiveTouchGestures(true);
}
// Load polyfill first so HTML imports start resolving
/* eslint-disable import/first */
import "../resources/html-import/polyfill";
import "@polymer/paper-styles/typography";
import { setPassiveTouchGestures } from "@polymer/polymer/lib/utils/settings";
import "../util/legacy-support";
import "../resources/roboto";
// For MDI icons. Needs to be part of main bundle or else it won't hook
// properly into iron-meta, which is used to transfer iconsets to iron-icon.
import "../components/ha-iconset-svg";
import "../layouts/home-assistant";
setPassiveTouchGestures(true);
/* LastPass createElement workaround. See #428 */
document.createElement = Document.prototype.createElement;
(window as any).frontendVersion = __VERSION__;
constructor() {
super();
// Resolve warning about scroll performance
// See https://developers.google.com/web/updates/2016/06/passive-event-listeners
setPassiveTouchGestures(true);
}
constructor() {
super();
setPassiveTouchGestures(true);
this.elevation = 1;
this.animated = false;
}
constructor() {
super();
setPassiveTouchGestures(true);
this.images = {};
this.active = false;
}
constructor() {
super();
setPassiveTouchGestures(true);
this.menuTitle = 'LOGIN REQUIRED';
this.user_id = 'DISCONNECTED';
this.domain = 'CLICK TO CONNECT';
this.is_connected = false;
this.is_admin = false;
this._page = '';
this.groups = [];
this.connection_mode = 'API';
this.plugins = {};
}
constructor() {
super();
setPassiveTouchGestures(true);
this.active = false;
this.supports = {};
this.aliases = {
'TensorFlow': 'python-tensorflow',
'Lablup ResearchEnv.': 'python-ff',
'Python': 'python',
'PyTorch': 'python-pytorch',
'Chainer': 'chainer',
'R': 'r',
'Julia': 'julia',
'Lua': 'lua',
};
this.versions = [];
this.languages = [];
this.defaultLanguage = '';
constructor() {
super();
setPassiveTouchGestures(true);
}
constructor() {
super();
setPassiveTouchGestures(true);
}
constructor() {
super();
setPassiveTouchGestures(true);
}