Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

typo #49

Closed
FrankBerlin opened this Issue Jul 18, 2012 · 0 comments

Comments

Projects
None yet
2 participants

Chapter on Mediator Pattern, the example "chatForm" has an semicolon instead of a comma inside a var statement.

line 06: from = $( "#fromBox" ).val();

Therefore the statement that follows will make the variable "to" implicit global.

br
Frank

@addyosmani addyosmani pushed a commit that referenced this issue Dec 11, 2012

Addy Osmani Fix for #49. 5498804

@addyosmani addyosmani closed this Dec 31, 2012

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