|
|
|
|
|
by bertomartin
4846 days ago
|
|
I've been trying to come up with a javascript module pattern for my rails apps. Right now, I use the Foundations javascript libraries, however those are very generic. I'd like to do something like Foundation does: have separate js files for accordians, sliders, tooltips, etc...I've been looking at the module patterns, however, as a new-comer to js (I'm ruby backend dev), there seems to be so many ways (http://www.adequatelygood.com/2010/3/JavaScript-Module-Patte...), to do the same thing, and I'm at a loss trying to figure out which one to start out with. Anyone facing this issue? How have you gone about starting out? Thanks. |
|