3 ms·
Why is the answer on how to use Javascript to use Coffeescript? Does all RoRists use CS instead of JS, or is it considered best practice? (I don't use either R
by eCa 14y ago
Why is the answer on how to use Javascript to use Coffeescript? Does all RoRists use CS instead of JS, or is it considered best practice?
(I don't use either Ruby, RoR, Coffeescript or Ember.)
- steveklabnik 14y agoIn order to use just JavaScript... you just write JavaScript. Nothing special. If you don't want to use it at all, you can also remove the gem from your Gemfile. > Does all RoRists use CS instead of JS, or is it considered best practice? It is currently considered best practice to use CS instead of JS, which is why the gem is included in your Gemfile by default. Not every Rails project uses it; Discourse just ported all their stuff to JS, even though they started with CS.