Fluent API
This patch release adds a small feature to support method chaining. You can now do the following:
Ember.get(this, 'flashMessages')
.registerTypes(['meow'])
.clearMessages()
.add({ message: 'foo' })
.meow('nyan');This patch release adds a small feature to support method chaining. You can now do the following:
Ember.get(this, 'flashMessages')
.registerTypes(['meow'])
.clearMessages()
.add({ message: 'foo' })
.meow('nyan');