minor stuff

This commit is contained in:
Egor Philippov 2017-02-06 23:52:04 -08:00
parent 4b452de321
commit 6cb47fb8aa
4 changed files with 10 additions and 38 deletions

View file

@ -13,22 +13,8 @@ const {
export default Component.extend({ export default Component.extend({
classNames: ['container-fluid'], classNames: ['container-fluid'],
elementId: 'hue-controls', elementId: 'hue-controls',
lightsData: { lightsData: null,
1: {
modelid: 'LCT001',
name: 'light 1',
state: {
reachable: true
}
},
2: {
name: 'teeeeeeeeeest',
modelid: 'LCT002',
state: {
reachable: true
}
}
},
activeLights: A(), activeLights: A(),
tabList: ["Lights", "Music"], tabList: ["Lights", "Music"],
selectedTab: 1, selectedTab: 1,

View file

@ -382,10 +382,10 @@
var adapter = function ( dancer ) { var adapter = function ( dancer ) {
var context; var context;
if('webkitAudioContext' in window) { if('AudioContext' in window) {
context = new webkitAudioContext();
} else {
context = new AudioContext(); context = new AudioContext();
} else {
context = new webkitAudioContext();
} }
this.dancer = dancer; this.dancer = dancer;

View file

@ -14,22 +14,8 @@ const {
export default Component.extend({ export default Component.extend({
classNames: ['container-fluid'], classNames: ['container-fluid'],
elementId: 'hue-controls', elementId: 'hue-controls',
lightsData: { lightsData: null,
1: {
modelid: 'LCT001',
name: 'light 1',
state: {
reachable: true
}
},
2: {
name: 'teeeeeeeeeest',
modelid: 'LCT002',
state: {
reachable: true
}
}
},
activeLights: A(), activeLights: A(),
tabList: ["Lights", "Music"], tabList: ["Lights", "Music"],
selectedTab: 1, selectedTab: 1,

View file

@ -382,10 +382,10 @@
var adapter = function ( dancer ) { var adapter = function ( dancer ) {
var context; var context;
if('webkitAudioContext' in window) { if('AudioContext' in window) {
context = new webkitAudioContext();
} else {
context = new AudioContext(); context = new AudioContext();
} else {
context = new webkitAudioContext();
} }
this.dancer = dancer; this.dancer = dancer;