From b83469b7766c6b0be5d0c42c4cb941a486d2282d Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 6 May 2020 11:31:45 +1000 Subject: [PATCH] New RAW_TEMPLATES handling --- assets/javascripts/wizard-custom-lib.js | 2 +- assets/javascripts/wizard-custom.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/wizard-custom-lib.js b/assets/javascripts/wizard-custom-lib.js index 8edec114..9767141d 100644 --- a/assets/javascripts/wizard-custom-lib.js +++ b/assets/javascripts/wizard-custom-lib.js @@ -3,5 +3,5 @@ window.Wizard = {}; Wizard.SiteSettings = {}; Wizard.RAW_TEMPLATES = {}; Discourse.__widget_helpers = {}; -Discourse.RAW_TEMPLATES = {}; +window.__DISCOURSE_RAW_TEMPLATES = {}; Discourse.SiteSettings = Wizard.SiteSettings; \ No newline at end of file diff --git a/assets/javascripts/wizard-custom.js b/assets/javascripts/wizard-custom.js index 35643332..55dcdc91 100644 --- a/assets/javascripts/wizard-custom.js +++ b/assets/javascripts/wizard-custom.js @@ -23,7 +23,6 @@ //= require discourse/app/lib/category-hashtags //= require discourse/app/lib/link-tag-hashtag //= require discourse/app/lib/tag-hashtags -//= require discourse/app/lib/raw-templates //= require discourse/app/lib/uploads //= require discourse/app/lib/category-tag-search //= require discourse/app/lib/intercept-click @@ -75,6 +74,7 @@ //= require discourse/app/helpers/format-username //= require discourse-common/addon/helpers/component-for-collection //= require discourse-common/addon/helpers/component-for-row +//= require discourse-common/addon/lib/raw-templates //= require discourse/app/helpers/discourse-tag //= require discourse/app/services/app-events