Generic-user-small Yael Dekel 1 post

Hi,
I downloaded the book source code zip file (http://media.pragprog.com/titles/cppsu/code/cppsu-code.zip) and noticed that it contains prototype.js version 1.5.1_pre0.

 
Generic-user-small Russell Chri... 2 posts

The source code itself is old
document.observe(‘contentloaded’, function() {
should be
document.observe(‘dom:loaded’, function() {

see Rails Ticket #7266

 
Generic-user-small Russell Chri... 2 posts

That should have been Rails Changeset 7835 not 7266

The “contentloaded” event is now “dom:loaded”.

 
Headshot_120px_small Christophe P... 28 posts

Hey guys, thanks for bringing this up. Apparently the code archive hasn’t been updated to reflect the current codebase in the book’s trunk. I’m notifying the staff at Prag to update it ASAP.

4 posts, 3 voices