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.
Get JavaScript Application Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.