• Dave Methvin's avatar
    jQuery: Fixups · 69cb6f7c
    Dave Methvin authored
    * Remove unused variables
    * Simplify cached elements, IDs are unique
    * Use chaining for event binding
    * Use IDs directly, no benefit in caching
    * DRY out the update logic
    * Remove cacheElements since it's now named wrong
    69cb6f7c
app.js 4.7 KB