From a12c7fcb2f76995f21cc1222add968ed2aedece3 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 25 Mar 2020 16:13:01 -0400 Subject: [PATCH] Revert "FIX: Allow JS transpilation" This reverts commit 6d1263812f9c23c05683868b82f611964c28e14d. --- app/assets/stylesheets/common/base/onebox.scss | 1 - app/models/theme_field.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index 7c5c10ec6b9..694ea8214a9 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -15,7 +15,6 @@ a.loading-onebox { } } -// test .onebox-result { @include post-aside; diff --git a/app/models/theme_field.rb b/app/models/theme_field.rb index ed0966fb5c4..085a0e649ef 100644 --- a/app/models/theme_field.rb +++ b/app/models/theme_field.rb @@ -134,7 +134,7 @@ class ThemeField < ActiveRecord::Base filename, extension = name.split(".", 2) begin case extension - when "js.es6", "js" + when "js.es6" js_compiler.append_module(content, filename) when "hbs" js_compiler.append_ember_template(filename.sub("discourse/templates/", ""), content)