Tuesday, 27 August 2013

What is the use for an Ember.Map in the current Bindings implementation?

What is the use for an Ember.Map in the current Bindings implementation?

An Ember.Map is used in the current Ember.js bindings implementation:
https://github.com/emberjs/ember.js/blob/master/packages/ember-metal/lib/binding.js#L202-L270
Can someone explain me why is it necessary to have a map? Wouldn't it be
enough to have a property that would say in which direction the object
binding was? Either 'fwd' or 'back'. In which situations will we have
multiple objects being populated in the directionMap of a Binding object?

No comments:

Post a Comment