• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Preface > About the Code

About the Code

This book is all about applications. It's no surprise, then, that you are going to see JavaScript code—lots of it. Some applications contain several hundred lines, and most of them are on the pages following the code. In some cases, the code is even repeated so you don't have to always flip back and forth between the discussion and the code.

One of the drawbacks of putting the code in the book, is, well, putting it in the book. There just isn't as much page width to fit all the code as we'd like on one line. The code often wraps onto the next line, and the next. To keep the readability higher, the comments have also been left out, though you'll find plenty of comments in the files themselves. The editing staff has gone to great pains to neatly format the code within the page constraints, but in some cases you might find looking at the files in your text editor easier on your eyes.

Since we expect you to use this code, not just read it, we've made all of the applications available in a zip file that you can download from the O'Reilly web site. Go to http://www.oreilly.com/catalog/jscook /index.html and look for the "Download" link. You'll see references to this file in each chapter.

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint