Does my ruby on rails app have to use coffeeScript or could I can I Just use plain javaScript?
You need to ensure not having the same filename both in javascript and coffeescript.
For example: having both the files
assets/javascripts/application.coffee
assets/javascripts/application.js
will only get the coffeescript loaded.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With