Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
DEV: PrettyText ctx load breaking change
Dieser Commit ist enthalten in:
Ursprung
9ab77c4b1f
Commit
c6a729ea72
3 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
|
@ -6,3 +6,6 @@ RSpec/ContextWording:
|
||||||
|
|
||||||
RSpec/DescribeClass:
|
RSpec/DescribeClass:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
Discourse/TimeEqMatcher:
|
||||||
|
Enabled: false
|
||||||
|
|
|
@ -128,7 +128,7 @@ class ::CustomWizard::UpdateValidator
|
||||||
return @ctx if @ctx
|
return @ctx if @ctx
|
||||||
|
|
||||||
@ctx = PrettyText.v8
|
@ctx = PrettyText.v8
|
||||||
PrettyText.ctx_load(@ctx, "#{Rails.root}/vendor/assets/javascripts/moment.js")
|
@ctx.load("#{Rails.root}/vendor/assets/javascripts/moment.js")
|
||||||
@ctx
|
@ctx
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
# name: discourse-custom-wizard
|
# name: discourse-custom-wizard
|
||||||
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more.
|
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more.
|
||||||
# version: 2.4.29
|
# version: 2.4.30
|
||||||
# authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos
|
# authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos
|
||||||
# url: https://github.com/paviliondev/discourse-custom-wizard
|
# url: https://github.com/paviliondev/discourse-custom-wizard
|
||||||
# contact_emails: development@pavilion.tech
|
# contact_emails: development@pavilion.tech
|
||||||
|
|
Laden …
In neuem Issue referenzieren