katex 0.2.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/katex/engine.rb +3 -2
  4. data/lib/katex/version.rb +2 -2
  5. data/vendor/katex/javascripts/katex.js +6 -5
  6. data/vendor/katex/sprockets/stylesheets/_katex.scss +23 -440
  7. data/vendor/katex/sprockets/stylesheets/katex.css.erb +23 -440
  8. data/vendor/katex/stylesheets/katex.css +1 -1
  9. metadata +2 -39
  10. data/vendor/katex/images/Image-Licensing-and-Technical-Notes.txt +0 -70
  11. data/vendor/katex/images/bcancel.svg +0 -1
  12. data/vendor/katex/images/cancel.svg +0 -1
  13. data/vendor/katex/images/doubleleftarrow.svg +0 -1
  14. data/vendor/katex/images/doubleleftrightarrow.svg +0 -1
  15. data/vendor/katex/images/doublerightarrow.svg +0 -1
  16. data/vendor/katex/images/hookleftarrow.svg +0 -1
  17. data/vendor/katex/images/hookrightarrow.svg +0 -1
  18. data/vendor/katex/images/leftarrow.svg +0 -1
  19. data/vendor/katex/images/leftdoublearrow.svg +0 -1
  20. data/vendor/katex/images/leftharpoon.svg +0 -1
  21. data/vendor/katex/images/leftharpoondown.svg +0 -1
  22. data/vendor/katex/images/leftrightarrow.svg +0 -1
  23. data/vendor/katex/images/leftrightharpoons.svg +0 -1
  24. data/vendor/katex/images/linesegment.svg +0 -1
  25. data/vendor/katex/images/longequal.svg +0 -1
  26. data/vendor/katex/images/mapsto.svg +0 -1
  27. data/vendor/katex/images/overbrace.svg +0 -1
  28. data/vendor/katex/images/overgroup.svg +0 -1
  29. data/vendor/katex/images/rightarrow.svg +0 -1
  30. data/vendor/katex/images/rightharpoon.svg +0 -1
  31. data/vendor/katex/images/rightharpoondown.svg +0 -1
  32. data/vendor/katex/images/rightleftharpoons.svg +0 -1
  33. data/vendor/katex/images/tilde1.svg +0 -1
  34. data/vendor/katex/images/tilde2.svg +0 -1
  35. data/vendor/katex/images/tilde3.svg +0 -1
  36. data/vendor/katex/images/tilde4.svg +0 -1
  37. data/vendor/katex/images/tofrom.svg +0 -1
  38. data/vendor/katex/images/twoheadleftarrow.svg +0 -1
  39. data/vendor/katex/images/twoheadrightarrow.svg +0 -1
  40. data/vendor/katex/images/underbrace.svg +0 -1
  41. data/vendor/katex/images/undergroup.svg +0 -11
  42. data/vendor/katex/images/widehat1.svg +0 -1
  43. data/vendor/katex/images/widehat2.svg +0 -1
  44. data/vendor/katex/images/widehat3.svg +0 -1
  45. data/vendor/katex/images/widehat4.svg +0 -1
  46. data/vendor/katex/images/xcancel.svg +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fab093e723fcd2a4c2d668e1ca92f90dc7005f0
4
- data.tar.gz: 53e11e46842c7224e635cd7a0a63780f0831eaf8
3
+ metadata.gz: fa62cb73860f84b850054f05dbff884bedbdd684
4
+ data.tar.gz: e1f1e3f3a0e6e2352ae1e99fa0b9a8b697717837
5
5
  SHA512:
6
- metadata.gz: efd6b49f527490b3b9860496582dfdd057e7eb5f963b583dcce78214c06bc1490cbf07e57d0a6e1a26f614784264aa20e50ca3e1cc1cd83d0d126ba11afa70c3
7
- data.tar.gz: fbe31cf9598f20a8408a48eda5ee702950306ab71cf411e1378c8a50d2f20f6f8f66c0a78c0ce582b7a64103130d3596c3a18943516f567fbce4fa4cb395445b
6
+ metadata.gz: 2bc7e3f0baa6b7a52827ce634b8fe8afd51bbba08558c0fcbb95cefb20bfe55db826184f142924c9c3c62604dc9f952062ddb4108e5921c3bc56b7b32f65ffb8
7
+ data.tar.gz: f5d57c7c41dfcef10f36d22f884d319c8be41fbeccf066ea26281b931a136a29921bc1afd1b5529bc995521bcd3272083d180d678b05faa9a03f9aacdb761fa2
data/README.md CHANGED
@@ -8,7 +8,7 @@ It uses [ExecJS] under the hood.
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'katex', '~> 0.2.3'
11
+ gem 'katex', '~> 0.3.0'
12
12
  ```
13
13
 
14
14
  And then execute:
data/lib/katex/engine.rb CHANGED
@@ -6,9 +6,10 @@ module Katex
6
6
  initializer 'katex.assets' do |app|
7
7
  # We deliberately do not place the assets in vendor/assets but in
8
8
  # vendor/katex instead, as vendor/assets is added to asset paths
9
- # by default but have to avoid including the non-sprockets stylesheet.
9
+ # by default but we have to avoid including the non-sprockets stylesheet.
10
10
  %w[fonts javascripts images].each do |sub|
11
- app.config.assets.paths << root.join('vendor', 'katex', sub).to_s
11
+ path = root.join('vendor', 'katex', sub).to_s
12
+ app.config.assets.paths << path if File.directory?(path)
12
13
  end
13
14
  # Use sprockets versions of katex CSS that use asset-path for
14
15
  # referencing fonts.
data/lib/katex/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Katex
4
- VERSION = '0.2.3'
5
- KATEX_VERSION = 'v0.8.2'
4
+ VERSION = '0.3.0'
5
+ KATEX_VERSION = 'v0.8.3'
6
6
  end