emberjs/ember.js — Issue #423: Broken binding examples
Author: jzaefferer
Created: 2012-01-22 19:43:43+00:00
State: open

In the documentation on ember.js, the `presidentNameBinding: 'MyApp.president.name'` example doesn't seem to work. The line `MyApp.country.get('presidentName');` just returns `undefined`.

A later similar example is also broken, logging `App.husband.get('householdIncome')` results also in `undefined`.

Not sure if this is a documentation or implementation issue.

Making the examples executable could help find these issues earlier, while working on the docs, not when someone is just reading them...