Update lexxy to 0.9.5.beta (#2820)
* Update lexxy to 0.9.5.beta * Fix syntax highlight controller for lexxy 0.9.5.beta The highlightAll export was renamed to highlightCode. --------- Co-authored-by: Mike Dalessio <mike@37signals.com>
This commit is contained in:
@@ -27,7 +27,7 @@ gem "geared_pagination", "~> 1.2"
|
||||
gem "rqrcode"
|
||||
gem "rouge"
|
||||
gem "jbuilder"
|
||||
gem "lexxy", "0.9.2.beta"
|
||||
gem "lexxy", "0.9.5.beta"
|
||||
gem "image_processing", "~> 1.14"
|
||||
gem "platform_agent"
|
||||
gem "aws-sdk-s3", require: false
|
||||
|
||||
+5
-5
@@ -15,7 +15,7 @@ GIT
|
||||
|
||||
GIT
|
||||
remote: https://github.com/rails/rails.git
|
||||
revision: 12e24eaf2f0a9613e015653f013dd131317d9bf5
|
||||
revision: 75f9e28379ac7418b82fa950cfa81f6147275308
|
||||
branch: main
|
||||
specs:
|
||||
actioncable (8.2.0.alpha)
|
||||
@@ -46,7 +46,7 @@ GIT
|
||||
rack-session (>= 1.0.1)
|
||||
rack-test (>= 0.6.3)
|
||||
rails-dom-testing (~> 2.2)
|
||||
rails-html-sanitizer (~> 1.6)
|
||||
rails-html-sanitizer (~> 1.7)
|
||||
useragent (~> 0.16)
|
||||
actiontext (8.2.0.alpha)
|
||||
action_text-trix (~> 2.1.16)
|
||||
@@ -61,7 +61,7 @@ GIT
|
||||
builder (~> 3.1)
|
||||
erubi (~> 1.11)
|
||||
rails-dom-testing (~> 2.2)
|
||||
rails-html-sanitizer (~> 1.6)
|
||||
rails-html-sanitizer (~> 1.7)
|
||||
activejob (8.2.0.alpha)
|
||||
activesupport (= 8.2.0.alpha)
|
||||
globalid (>= 0.3.6)
|
||||
@@ -254,7 +254,7 @@ GEM
|
||||
logger (~> 1.6)
|
||||
letter_opener (1.10.0)
|
||||
launchy (>= 2.2, < 4)
|
||||
lexxy (0.9.2.beta)
|
||||
lexxy (0.9.5.beta)
|
||||
rails (>= 8.0.2)
|
||||
lint_roller (1.1.0)
|
||||
logger (1.7.0)
|
||||
@@ -518,7 +518,7 @@ DEPENDENCIES
|
||||
jbuilder
|
||||
kamal
|
||||
letter_opener
|
||||
lexxy (= 0.9.2.beta)
|
||||
lexxy (= 0.9.5.beta)
|
||||
mission_control-jobs
|
||||
mittens
|
||||
mocha
|
||||
|
||||
+5
-5
@@ -64,7 +64,7 @@ GIT
|
||||
|
||||
GIT
|
||||
remote: https://github.com/rails/rails.git
|
||||
revision: 12e24eaf2f0a9613e015653f013dd131317d9bf5
|
||||
revision: 75f9e28379ac7418b82fa950cfa81f6147275308
|
||||
branch: main
|
||||
specs:
|
||||
actioncable (8.2.0.alpha)
|
||||
@@ -95,7 +95,7 @@ GIT
|
||||
rack-session (>= 1.0.1)
|
||||
rack-test (>= 0.6.3)
|
||||
rails-dom-testing (~> 2.2)
|
||||
rails-html-sanitizer (~> 1.6)
|
||||
rails-html-sanitizer (~> 1.7)
|
||||
useragent (~> 0.16)
|
||||
actiontext (8.2.0.alpha)
|
||||
action_text-trix (~> 2.1.16)
|
||||
@@ -110,7 +110,7 @@ GIT
|
||||
builder (~> 3.1)
|
||||
erubi (~> 1.11)
|
||||
rails-dom-testing (~> 2.2)
|
||||
rails-html-sanitizer (~> 1.6)
|
||||
rails-html-sanitizer (~> 1.7)
|
||||
activejob (8.2.0.alpha)
|
||||
activesupport (= 8.2.0.alpha)
|
||||
globalid (>= 0.3.6)
|
||||
@@ -367,7 +367,7 @@ GEM
|
||||
logger (~> 1.6)
|
||||
letter_opener (1.10.0)
|
||||
launchy (>= 2.2, < 4)
|
||||
lexxy (0.9.2.beta)
|
||||
lexxy (0.9.5.beta)
|
||||
rails (>= 8.0.2)
|
||||
lint_roller (1.1.0)
|
||||
logger (1.7.0)
|
||||
@@ -724,7 +724,7 @@ DEPENDENCIES
|
||||
jbuilder
|
||||
kamal
|
||||
letter_opener
|
||||
lexxy (= 0.9.2.beta)
|
||||
lexxy (= 0.9.5.beta)
|
||||
mission_control-jobs
|
||||
mittens
|
||||
mocha
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Controller } from "@hotwired/stimulus"
|
||||
import { highlightAll } from "lexxy"
|
||||
import { highlightCode } from "lexxy"
|
||||
|
||||
export default class extends Controller {
|
||||
connect() {
|
||||
highlightAll()
|
||||
highlightCode()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user