New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sencha-touch2-charts-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sencha-touch2-charts-rails

  • 2.0.1.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Sencha::Touch2::Rails

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

Installation

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

Usage

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.

Rake task

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.

License

GPLv3 like Sencha Touch.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

FAQs

Package last updated on 06 Jul 2012

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc