ember.js - Ember.Object.create removes function from my original object -
i'm using complex javascript object want wrap ember.object.create can benefit of binding on properties. however, when create ember object, loose functions had in initial object properties transferred.
here's example:
the introduce function part of original object lost after ember.object.create. there way keep prototypes function while keeping benefits of ember.object.create.
thank help
you can use ember's bindings without using ember object system.
here's example of using ember.bind() setup bindings other objects. ember.run.sync() calls necessary sync bindings after binding setup , property changes.
Comments
Post a Comment