mathquill_rails_dev 0.9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +42 -0
- data/lib/mathquill_rails_dev/version.rb +3 -0
- data/lib/mathquill_rails_dev.rb +7 -0
- data/vendor/assets/fonts/Symbola-basic.eot +0 -0
- data/vendor/assets/fonts/Symbola-basic.ttf +0 -0
- data/vendor/assets/fonts/Symbola-basic.woff +0 -0
- data/vendor/assets/fonts/Symbola.eot +0 -0
- data/vendor/assets/fonts/Symbola.otf +0 -0
- data/vendor/assets/fonts/Symbola.svg +5102 -0
- data/vendor/assets/fonts/Symbola.ttf +0 -0
- data/vendor/assets/fonts/Symbola.woff +0 -0
- data/vendor/assets/javascripts/mathquill.js +4646 -0
- data/vendor/assets/stylesheets/mathquill.css +406 -0
- metadata +100 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bc9297dfabb0365a1f6082ada977571e8728f197
|
4
|
+
data.tar.gz: aa5853c7ce8554e0e12128e1444b93e641f45075
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7941470dceea89d2d27f961e75c9ab161db37fb0d816d639319f6c04a866105d8e0c7aa43225772d610171b769f931f73b671a2f5df7624f395858f8b3c309a2
|
7
|
+
data.tar.gz: 9ce04a9ccb29129b09c3e7985182d817d294e554ed4975d175d18b2d8cf6b7e1e2b8b5e822abefb2ec74dde19fa4dcf2d3c0e43a942ecc683bcd63b212969e3b
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 brentanalexander
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# MathquillRails
|
2
|
+
|
3
|
+
Brings the Mathquill JS library dev branch to rails through integration with the asset pipeline.
|
4
|
+
The gem includes the development (non-minified) source for ease of exploration. The asset pipeline will minify in production.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
This gem requires the asset pipeline...I've only tested it on Rails 4+, but it should work on 3.1+ as well.
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'mathquill_rails'
|
14
|
+
```
|
15
|
+
|
16
|
+
And then execute:
|
17
|
+
|
18
|
+
$ bundle
|
19
|
+
|
20
|
+
Or install it yourself as:
|
21
|
+
|
22
|
+
$ gem install mathquill_rails
|
23
|
+
|
24
|
+
## Usage - All Pages
|
25
|
+
|
26
|
+
Add the following directive to your Javascript manifest file (application.js):
|
27
|
+
|
28
|
+
//= require mathquill
|
29
|
+
|
30
|
+
Add the following directive to your Stylesheet manifest file (application.css):
|
31
|
+
|
32
|
+
*= require mathquill
|
33
|
+
|
34
|
+
## Usage - Specific Pages
|
35
|
+
|
36
|
+
Add the following to the head portion of any pages you want to include mathquill:
|
37
|
+
|
38
|
+
javascript_include_tag "mathquill"
|
39
|
+
|
40
|
+
Add the following to the head portion of any pages you want to include mathquill:
|
41
|
+
|
42
|
+
stylesheet_link_tag "mathquill"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|