mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Missing files from previous commit
This commit is contained in:
parent
8c384ae6b8
commit
e7abba9bbe
@ -82,6 +82,8 @@ module PrettyText
|
|||||||
ctx_load(ctx, "#{Rails.root}/app/assets/javascripts/discourse-loader.js")
|
ctx_load(ctx, "#{Rails.root}/app/assets/javascripts/discourse-loader.js")
|
||||||
ctx_load(ctx, "#{Rails.root}/app/assets/javascripts/handlebars-shim.js")
|
ctx_load(ctx, "#{Rails.root}/app/assets/javascripts/handlebars-shim.js")
|
||||||
ctx_load(ctx, "vendor/assets/javascripts/lodash.js")
|
ctx_load(ctx, "vendor/assets/javascripts/lodash.js")
|
||||||
|
ctx_load(ctx, "vendor/assets/javascripts/xss.min.js")
|
||||||
|
ctx.load("#{Rails.root}/lib/pretty_text/vendor-shims.js")
|
||||||
ctx_load_manifest(ctx, "pretty-text-bundle.js")
|
ctx_load_manifest(ctx, "pretty-text-bundle.js")
|
||||||
ctx_load_manifest(ctx, "markdown-it-bundle.js")
|
ctx_load_manifest(ctx, "markdown-it-bundle.js")
|
||||||
root_path = "#{Rails.root}/app/assets/javascripts/"
|
root_path = "#{Rails.root}/app/assets/javascripts/"
|
||||||
|
@ -9,7 +9,7 @@ __resetTranslationTree = require("pretty-text/engines/discourse-markdown/emoji")
|
|||||||
I18n = {
|
I18n = {
|
||||||
t(a, b) {
|
t(a, b) {
|
||||||
return __helpers.t(a, b);
|
return __helpers.t(a, b);
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
define("I18n", ["exports"], function (exports) {
|
define("I18n", ["exports"], function (exports) {
|
||||||
|
3
lib/pretty_text/vendor-shims.js
Normal file
3
lib/pretty_text/vendor-shims.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
define("xss", ["exports"], function (__exports__) {
|
||||||
|
__exports__.default = window.filterXSS;
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user