Skip to content

Commit

Permalink
Merge pull request #20 from wireframe/patch-1
Browse files Browse the repository at this point in the history
Fix Ember 2.0 deprecation
  • Loading branch information
Asaf Shakarchi committed Nov 1, 2015
2 parents 9c0845d + 37ec9f2 commit fa79fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/tab-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default Em.Component.extend(WithConfigMixin, StyleBindingsMixin, {
* @property tab
* @type Tab
*/
tab: Em.computed('panels.length', 'tabList.tab_instances.@each', function() {
tab: Em.computed('panels.length', 'tabList.tab_instances.[]', function() {
var index, tabs;
index = this.get('panels').indexOf(this);
tabs = this.get('tabList.tab_instances');
Expand Down

0 comments on commit fa79fd1

Please sign in to comment.