minor stuff
This commit is contained in:
parent
4b452de321
commit
6cb47fb8aa
4 changed files with 10 additions and 38 deletions
|
|
@ -13,22 +13,8 @@ const {
|
|||
export default Component.extend({
|
||||
classNames: ['container-fluid'],
|
||||
elementId: 'hue-controls',
|
||||
lightsData: {
|
||||
1: {
|
||||
modelid: 'LCT001',
|
||||
name: 'light 1',
|
||||
state: {
|
||||
reachable: true
|
||||
}
|
||||
},
|
||||
2: {
|
||||
name: 'teeeeeeeeeest',
|
||||
modelid: 'LCT002',
|
||||
state: {
|
||||
reachable: true
|
||||
}
|
||||
}
|
||||
},
|
||||
lightsData: null,
|
||||
|
||||
activeLights: A(),
|
||||
tabList: ["Lights", "Music"],
|
||||
selectedTab: 1,
|
||||
|
|
|
|||
6
mobile/vendor/dancer.js
vendored
6
mobile/vendor/dancer.js
vendored
|
|
@ -382,10 +382,10 @@
|
|||
var adapter = function ( dancer ) {
|
||||
var context;
|
||||
|
||||
if('webkitAudioContext' in window) {
|
||||
context = new webkitAudioContext();
|
||||
} else {
|
||||
if('AudioContext' in window) {
|
||||
context = new AudioContext();
|
||||
} else {
|
||||
context = new webkitAudioContext();
|
||||
}
|
||||
|
||||
this.dancer = dancer;
|
||||
|
|
|
|||
|
|
@ -14,22 +14,8 @@ const {
|
|||
export default Component.extend({
|
||||
classNames: ['container-fluid'],
|
||||
elementId: 'hue-controls',
|
||||
lightsData: {
|
||||
1: {
|
||||
modelid: 'LCT001',
|
||||
name: 'light 1',
|
||||
state: {
|
||||
reachable: true
|
||||
}
|
||||
},
|
||||
2: {
|
||||
name: 'teeeeeeeeeest',
|
||||
modelid: 'LCT002',
|
||||
state: {
|
||||
reachable: true
|
||||
}
|
||||
}
|
||||
},
|
||||
lightsData: null,
|
||||
|
||||
activeLights: A(),
|
||||
tabList: ["Lights", "Music"],
|
||||
selectedTab: 1,
|
||||
|
|
|
|||
6
web/vendor/dancer.js
vendored
6
web/vendor/dancer.js
vendored
|
|
@ -382,10 +382,10 @@
|
|||
var adapter = function ( dancer ) {
|
||||
var context;
|
||||
|
||||
if('webkitAudioContext' in window) {
|
||||
context = new webkitAudioContext();
|
||||
} else {
|
||||
if('AudioContext' in window) {
|
||||
context = new AudioContext();
|
||||
} else {
|
||||
context = new webkitAudioContext();
|
||||
}
|
||||
|
||||
this.dancer = dancer;
|
||||
|
|
|
|||
Reference in a new issue