
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
sencha-touch2-charts-rails
Advanced tools
This is a simple Rails asset pipeline gem packaging the Sencha Touch Framework (GPL version). It is loosely based on ext_rails_shim, but without any Rails integration besides making the assets available to the asset pipeline.
The currently bundled version is Sencha Touch 2.0.1.1 GPL
Add this line to your application's Gemfile:
gem 'sencha-touch2-charts-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sencha-touch2-rails
Just include the desired theme css file
<%= stylesheet_include_tag 'sencha-touch2-charts-rails/sencha-touch' %>
<%= stylesheet_include_tag 'sencha-touch2-charts-rails/apple' %>
and JS file
<%= javascript_include_tag 'sencha-touch2-charts-rails/sencha-touch-all' %>
Don't forget to add the chosen files to config.assets.precompile
config.assets.precompile << 'sencha-touch2-charts-rails/touch-charts.css'
config.assets.precompile << 'sencha-touch2-rails/touch-charts-debug.js'
Note: The sencha-touch-all*.js versions should be used, as dynamic class loading is incompatible with the asset pipeline.
You can fork this gem and run
TOUCH_DIR=/path/to/sencha-touch-2.x.x.x rake sencha-touch2-charts-rails:install
to rebuild Sencha Touch, i.e. when you built your own theme.
GPLv3 like Sencha Touch.
git checkout -b my-new-feature)git commit -am 'Added some feature')git push origin my-new-feature)FAQs
Unknown package
We found that sencha-touch2-charts-rails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.