Permalink
Browse files

Fix it with newer ember

  • Loading branch information...
1 parent 16b1abc commit f41ce255c0ff6e8f4af784a3a2a8101af0ed044f @josepjaume josepjaume committed Dec 2, 2012
Showing with 6,177 additions and 12,623 deletions.
  1. +4 −4 packages/ember-forms/lib/fields/date.js
  2. +6,170 −3,352 packages/ember/lib/main.js
  3. +1 −1 tests/index.html
  4. +0 −9,266 tests/jquery-1.7.1.js
  5. +2 −0 tests/jquery-1.8.3.js
@@ -26,7 +26,7 @@ EF.DateComponent = Ember.ContainerView.extend({
this.set('yearView.value', year);
}
return value;
- }).volatile(),
+ }).property('dayView.value', 'monthView.value', 'yearView.value'),
dayView: EF.UnboundSelect.extend({
attributeBindings: ['name'],
@@ -40,7 +40,7 @@ EF.DateComponent = Ember.ContainerView.extend({
days.push(i + '');
}
return Ember.A(days);
- }).cacheable()
+ })
}),
monthView: EF.UnboundSelect.extend({
@@ -56,7 +56,7 @@ EF.DateComponent = Ember.ContainerView.extend({
return months.map(function(month, index){
return {value: (index + ''), label: month};
});
- }).cacheable()
+ })
}),
yearView: EF.UnboundSelect.extend({
@@ -77,7 +77,7 @@ EF.DateComponent = Ember.ContainerView.extend({
years.push(i + "");
}
return Ember.A(years);
- }).cacheable()
+ })
})
});
Oops, something went wrong.

0 comments on commit f41ce25

Please sign in to comment.