Organizing JavaScript Functionality Organizing JavaScript Functionality

Refactoring Modules

Kyle Simpson
You Don't Know JS
The easiest place for the code to be is not always the right place for the code to be. Now that all three modules are created, Kyle wants to simplify the functionality of each module by refactoring the code. The carousel module handles all click events and the details module is passed the ID of the object to show.
Get Unlimited Access Now