Typo in Model.get() sample code #214

Merged
merged 1 commit into from Nov 10, 2012

Conversation

Projects
None yet
2 participants
@booltype

Hi Addy,
I hope this works, this is my first pull request. There is what seems a copy-paste mistake in the Model.get() sample code, it reads console.log(todo2.get('completed')); // false, but should be console.log(todo2.get('completed')); // true.

Thanks for the excellent book, still dumbfounded about Backbone, but getting there.

Regards
Stefan

@addyosmani

This comment has been minimized.

Show comment Hide comment
@addyosmani

addyosmani Nov 10, 2012

Owner

Thanks for the pull request, @booltype! I appreciate the correction. Fingers crossed the book is coming in helpful :)

Owner

addyosmani commented Nov 10, 2012

Thanks for the pull request, @booltype! I appreciate the correction. Fingers crossed the book is coming in helpful :)

addyosmani added a commit that referenced this pull request Nov 10, 2012

Merge pull request #214 from booltype/gh-pages
Typo in Model.get() sample code

@addyosmani addyosmani merged commit 6247433 into addyosmani:gh-pages Nov 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment