Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

typo #49

Closed
FrankBerlin opened this Issue · 0 comments

2 participants

@FrankBerlin

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 referenced this issue from a commit
Addy Osmani Fix for #49. 5498804
@addyosmani addyosmani closed this
@gchan gchan referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.