Socket
Book a DemoInstallSign in
Socket

mathquill_rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathquill_rails

0.9.3.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

MathquillRails

Brings the Mathquill JS library 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:

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"

FAQs

Package last updated on 23 Nov 2014

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.