sproutcore / guides

The guides source. Build and push to https://github.com/sproutcore-guides/sproutcore-guides.github.com.
http://guides.sproutcore.com/
110 stars 65 forks source link

Use get/set to trigger bindings? (core_concepts.textile) #63

Closed strathmeyer closed 13 years ago

strathmeyer commented 13 years ago

http://guides.sproutcore.com/core_concepts.html#bindings-and-chained-property-paths

I'm new to sproutcore, so this might not be an actual issue, but in Section 4.2 "Bindings and Chained Property Paths", should MyApp.usersController.mainUser.name = "Harriet"; instead be MyApp.usersController.mainUser.set('name', "Harriet"); and likewise for Eunice?

Or do bindings work even when setting properties directly?