Skip to content

Commit

Permalink
Update to Ember/EmberData 2.6 and fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
bastimeyer committed Sep 9, 2016
1 parent 4ce7dbe commit b338a6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "livestreamer-twitch-gui",
"dependencies": {
"ember": "2.5.1",
"ember-data": "2.5.3",
"ember": "2.6.2",
"ember-data": "2.6.1",
"ember-localstorage-adapter": "bastimeyer/ember-localstorage-adapter#ember-data-2.0",
"jquery": "2.1.3",
"bootstrap": "3.3.1",
Expand Down
3 changes: 2 additions & 1 deletion src/app/components/form/RadioBtnsComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export default Component.extend({
return found;
},

didInitAttrs() {
init() {
this._super.apply( this, arguments );
// update each button's checked status on initialization
this._updateItems();
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/mixins/TwitchInteractButtonMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ export default Mixin.create({
isLocked : false
});
}.bind( this ) );
}.observes( "isValid", "model" ).on( "didInitAttrs" )
}.observes( "isValid", "model" ).on( "init" )
});

0 comments on commit b338a6b

Please sign in to comment.