Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Other Digital Version | 1 Near end |
"Now lets create an attributes() function, which will return an object of attributes to values" |
Anonymous | Oct 06, 2011 | Jul 18, 2014 |
5 Comment on the source code in "The Controller" |
In your book say "// Use a anonymous function to enscapulate scope". I think "encapsulate" is correct word. |
Kotaro yoshida | Aug 30, 2011 | Jul 18, 2014 | |
Page 9 code example after the second paragraph |
In that line of code: |
Dmitriy Koroliov | Jul 03, 2012 | Jul 18, 2014 | |
Page 13 Polska |
var App { |
Krzysztof Kula | Nov 14, 2011 | Jul 18, 2014 | |
Printed | Page 13 middle of page |
|
Anonymous | Dec 21, 2012 | Jul 18, 2014 |
Printed | Page 16 1st code example |
"integer" is not a valid type in JavaScript. See: http://es5.github.com/#x11.4.3 |
Rick Waldron | Oct 14, 2011 | Jul 18, 2014 |
Page 17 Second code block |
in the Student class, it seems that "price" should be "pay". |
emanchado | Sep 21, 2011 | Jul 18, 2014 | |
Printed | Page 22 2nd paragraph |
The example should be using the target property, not the currentTarget, because the li is the target of the bubbling event. |
Eric Priou | Jan 15, 2012 | Jul 18, 2014 |
Page 23 Next-to-last code sample |
jQuery.ready(function($){ |
Royston Shufflebotham | Oct 26, 2011 | Jul 18, 2014 | |
Page 24 1st sample of code under headline "Delegating Events" |
rather than |
Muhammad Atif | Oct 14, 2012 | Jul 18, 2014 | |
Printed | Page 26 Last code example |
The semi colon at the end of: var element = $(this); will cause the var on the next line to be leaked globally |
Rick Waldron | Oct 14, 2011 | Jul 18, 2014 |
Page 29 Entire Page from "If you?re using jQuery" |
"It?s so simple, in fact, that we can put it inline:" |
Anonymous | Oct 04, 2011 | Jul 18, 2014 | |
Page 29 code |
$.publish("/some/topic", "a", "b", "c"); |
Tsuyoshi Toyofuku | Oct 06, 2011 | Jul 18, 2014 | |
Page 36 Mide way. |
Possibly a mistake: |
Anonymous | Oct 05, 2011 | Jul 18, 2014 | |
Printed | Page 37 Near top of page, Model.extend() { ... |
On page 35 we attached the function "create" to the Model object using the "Model.include" function. On page 37 we changed "create" to include automatic id generation but then use "Model.extend". Probably just meant "Model.include"? "Model.extend" overwrites the "Model.create" function which was previously used to mint new instances of the Model object. |
Anonymous | Oct 05, 2011 | Jul 18, 2014 |
Page 37 Near end |
"Asset.extend({ |
Anonymous | Oct 05, 2011 | Jul 18, 2014 | |
Page 37 Bottom of page |
When creating the asset instance, the book uses the new keyword: |
Anonymous | Feb 04, 2013 | Jul 18, 2014 | |
Printed | Page 47 middle of page |
I believe "var" in: |
Anonymous | Jun 19, 2013 | Jul 18, 2014 |
Page 52 Quote given |
"mod.fn.load = function(func){ |
Colin Jack | Oct 07, 2011 | Jul 18, 2014 | |
Page 53 Code block, top |
Both jQuery's mouseover and mouseout methods accept a single callback function. Here they are also given a second boolean argument. |
Tim Fletcher | Jan 08, 2012 | Jul 18, 2014 | |
Page 54 Second code block on the page |
?? this.toggleClass: function(e){ ?? should be ?toggleClass: function(e){? |
Anonymous | Jan 04, 2013 | Jul 18, 2014 | |
Page 62 First line of code |
jQuery(function(){ |
Behnam Esfahbod | Dec 30, 2011 | Jul 18, 2014 | |
Page 72 Top |
"var calls = this._callbacks || (this._callbacks = {});" |
Colin Jack | Oct 18, 2011 | Jul 18, 2014 | |
Page 73 3rd paragraph |
?First you have to transfer any data needed for the view to the client, as don't [you don't? the library doesn't] have access to server side variables." |
bhanafee | Jun 01, 2011 | Aug 11, 2011 | |
Page 74 1st paragraph |
?The reason being is that?? |
bhanafee | Jun 01, 2011 | Aug 11, 2011 | |
Printed | Page 75 2nd code example, last line |
Parentheses don't match. There's an extra closing bracket in the last line. |
Antti Ahti | Nov 22, 2011 | Jul 18, 2014 |
Page 75 2nd paragraph |
a HTML fragment...an JavaScript object |
bhanafee | Jun 01, 2011 | Aug 11, 2011 | |
Page 75 4th paragraph |
"It renders a rendered template element" Note from the Author or Editor: |
bhanafee | Jun 01, 2011 | Aug 11, 2011 | |
Page 75 2nd from bottom paragraph |
Whatever is inside the brackets get executed in the context of the object passed to jQuery.tmpl(), regardless if it's a property or function. Note from the Author or Editor: |
bhanafee | Jun 01, 2011 | Aug 11, 2011 | |
Page 76 India |
Under the Yabble section: |
Mahesh | May 25, 2013 | Jul 18, 2014 | |
Printed | Page 109 United States |
The first code sample on page 109 reads "var asset" when it should be "var assert". |
Simon | Oct 14, 2011 | Jul 18, 2014 |
Printed | Page 111 United States |
Deprecated/Renamed QUnit functions: |
Rick Waldron | Oct 14, 2011 | Jul 18, 2014 |
Printed | Page 116 3rd paragraph |
"Crome" instead of "Chrome" |
Oliver Schmidt | Sep 21, 2011 | Jul 18, 2014 |
Page 119 1st code sample |
'asset' should be 'assert' |
Michael Edmondson | Jul 12, 2011 | Jul 18, 2014 | |
Page 136 First code block on the page |
shouldn't the Content-Type be image/gif? |
emanchado | Sep 21, 2011 | Jul 18, 2014 | |
Page 137 Middle of the page |
The YUI compressor command-line should redirect (">"), not pipe ("|") |
emanchado | Sep 21, 2011 | Jul 18, 2014 | |
Page 139 Last line of the page |
both "Google" and "Yahoo!" links point to the same URL. |
emanchado | Sep 21, 2011 | Jul 18, 2014 | |
Page 141 4th paragraph |
"support; Spine.Class" should be "support, Spine.Class". |
emanchado | Sep 21, 2011 | Jul 18, 2014 | |
Page 144 Near end |
Properties in subclasses can be overridden without affecting the parent class. However, |
Colin Jack | Oct 23, 2011 | Jul 18, 2014 | |
Page 166 Second code block |
shouldn't this: |
emanchado | Sep 21, 2011 | Jul 18, 2014 | |
Page 172 First code block in the "Controllers" section |
the routes example is missing a comma after the |
emanchado | Sep 21, 2011 | Jul 18, 2014 | |
Page 172 5th paragraph beginning with "Routes are parsed" |
"end" should be "beginning". |
Anonymous | Mar 09, 2012 | Jul 18, 2014 | |
Page 177 3rd paragraph |
"Underscore providers" s/b "Underscore provides". |
bhanafee | Jun 01, 2011 | Aug 11, 2011 | |
Page 184 Titel and subsequent mentions |
Controllers are now called Routers in Backbone.js |
Joachim Nolten | Jul 19, 2011 | Aug 11, 2011 | |
Page 193 2nd code sample |
this.delegate('.next','click', function(){ |
Anonymous | Dec 15, 2011 | Jul 18, 2014 | |
Page 196 last code sample |
var el = $('<li>').html(todo.name); |
Anonymous | Dec 15, 2011 | Jul 18, 2014 | |
Page 198 5th paragraph |
"This is due to the fact that currently pushState() and replaceState() need special handling on the server side, and aren'tf yet supported by Internet Explorer." |
mnmly | Jul 05, 2011 | Aug 11, 2011 | |
Page 208 Middle |
"// Select the children of 'bar' with a class of 'foo' |
Colin Jack | Oct 24, 2011 | Jul 18, 2014 | |
Page 210 Example at the top of the page |
The example is written: |
Troy Farrell | Dec 31, 2011 | Jul 18, 2014 | |
Page 212 Last example |
The URL in the last example on page 212 of the PDF is given as: |
Troy Farrell | Dec 31, 2011 | Jul 18, 2014 | |
Page 225 Middle of the page |
Opera appears twice. |
Anonymous | Feb 14, 2012 | Jul 18, 2014 |