咖啡脚本中的示例
window.APP = Ember.Application.create()
APP.stuff = Ember.Object.create(
name: "The Name"
)
APP.things = Ember.Object.create(
nameBinding: "APP.stuff.name"
)
APP.gizmos = Ember.Object.create(
nameBinding: "APP.stuff.name"
)
有没有办法检测到 APP.stuff 有 2 个绑定到它的 name 属性?