|
|
|
|
|
by jasonkostempski
4539 days ago
|
|
This is JavaScript: The Infinitely Many Ways. Shouldn't the right way remove at least a few options from the table? I've found a sweet spot for myself, at least for single page apps which is what I work on most of the time. jQuery, Require.js, text.js and JSLint. r.js for building release versions. Those, along with a small "view" class I wrote whose constructor takes an html string, finds all elements with a data-vid attribute and adds properties to itself pointing at those elements. Markup is kept in bite-size html files, loaded by require during development but compiled into the single js file for release. Also, I can't remember the last time I used a jQuery selector. |
|