4 ms·
I have a Ruby on Rails project on Github. After I added Twitter Bootstrap and the Ace text editor to my project, Github started showing that my project is 85% J
by anindyabd 11y ago
I have a Ruby on Rails project on Github. After I added Twitter Bootstrap and the Ace text editor to my project, Github started showing that my project is 85% JavaScript. I guess it is, but I didn't write all that JavaScript! So I'm a little skeptical about JavaScript being number 1 here.
- wnevets 11y agoyou added the entire bootstrap project to your repo?
- anindyabd 11y agoI put the minified CSS and JS files under vendor/assets/. Is that not kosher?
- wnevets 11y agoAs the number of external dependency(i.e bootstrap) increases, I find using something like bower very useful. It's probably not worth it for solo projects where bootstrap is the only external dependency
- xbryanx 11y agoI wonder if they're doing any sort of de-duplication. Surely 1000s of instances of the same jquery, bootstrap, etc shouldn't count towards JavaScript's language total.