Skip to content

A platform for community discussion. Free, open, simple.

Revert "FIX: Allow JS transpilation"

Robin Warda12c7fcb2f76
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)