AlexVangelov / sencha-touch-rails

Using Sencha Touch with Rails
Other
26 stars 10 forks source link

Sencha Touch javascript live building #1

Closed AlexVangelov closed 9 years ago

AlexVangelov commented 12 years ago

Need to include JSBuilder3 in the gem. In development mode it can provide sencha-touch-all-debug.js with all components included. (better if compiled locally) But in production when calling rake assets:precompile the gem must compile js framework only with used components. Still don't know is it possible to parse the code and automaticly add used components, or need to work with configuration file. Ideas are welcome!