minor stuff
This commit is contained in:
parent
6c199f5d07
commit
712ad552f5
4 changed files with 10 additions and 38 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
6
mobile/vendor/dancer.js
vendored
6
mobile/vendor/dancer.js
vendored
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
6
web/vendor/dancer.js
vendored
6
web/vendor/dancer.js
vendored
|
|
@ -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;
|
||||||
|
|
|
||||||
Reference in a new issue