Closed synthead closed 1 year ago
This PR makes the NeatJSON JS available in the Rails asset pipeline.
With these changes, including the NeatJSON JS in a Rails app is as easy as adding this to app/assets/javascripts/application.js:
app/assets/javascripts/application.js
//= require neatjson
Thanks for the idea, work, and pull request. As it stands, the javascript folder has an HTML file that relies on the js library to be relatively present. Renaming the file as you have will break this.
javascript
js
This PR makes the NeatJSON JS available in the Rails asset pipeline.
With these changes, including the NeatJSON JS in a Rails app is as easy as adding this to
app/assets/javascripts/application.js
: