Sha256: 5cf8c6bd227e4558cc24767cafd5eef59e9ff4151298aede8d69d872153b04e1
Contents?: true
Size: 1.02 KB
Versions: 4
Compression:
Stored size: 1.02 KB
Contents
# MathquillRails Brings the Mathquill JS library dev branch to rails through integration with the asset pipeline. The gem includes the development (non-minified) source for ease of exploration. The asset pipeline will minify in production. ## Installation This gem requires the asset pipeline...I've only tested it on Rails 4+, but it should work on 3.1+ as well. Add this line to your application's Gemfile: ```ruby gem 'mathquill_rails' ``` And then execute: $ bundle Or install it yourself as: $ gem install mathquill_rails ## Usage - All Pages Add the following directive to your Javascript manifest file (application.js): //= require mathquill Add the following directive to your Stylesheet manifest file (application.css): *= require mathquill ## Usage - Specific Pages Add the following to the head portion of any pages you want to include mathquill: javascript_include_tag "mathquill" Add the following to the head portion of any pages you want to include mathquill: stylesheet_link_tag "mathquill"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mathquill_rails_dev-0.9.3.3 | README.md |
mathquill_rails_dev-0.9.3.2 | README.md |
mathquill_rails_dev-0.9.3.1 | README.md |
mathquill_rails_dev-0.9.3.0 | README.md |