There is actually a function for this: setProperties. You can use it like this:
obj.setProperties({prop1: value1, prop2: value2})
obj should be instance of Ember.Object.
There is actually a function for this: setProperties. You can use it like this:
obj.setProperties({prop1: value1, prop2: value2})
obj should be instance of Ember.Object.