Skip to content

Commit

Permalink
fix: deprecation createWithMixins
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiocro committed Aug 19, 2015
1 parent 0309329 commit eb1a21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import FaIconsMixin from 'dummy/mixins/faicons';

export default Ember.Route.extend({
model: function() {
return Ember.Object.createWithMixins(FaIconsMixin,{
return Ember.Object.extend(FaIconsMixin).create({
date1: moment(),
date2: undefined,
mindate: moment("2014-11-01"),
Expand Down

0 comments on commit eb1a21a

Please sign in to comment.