After seeing clients with poorly written javascript, I had to gave a talk about how to writing better javascript. Main points included:
- Simplifing code wit better event binding
- **Not** creating functions in loops
- Increasing speed with DOM caching
The talk focused on refactoring a sample app with all the issues above.
You can get the slides here
Click here to RSVP.
Check out the code: catsWithCash