Revert "FIX: Allow JS transpilation"

Revert “FIX: Allow JS transpilation”

This reverts commit 6d1263812f9c23c05683868b82f611964c28e14d.

diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index 7c5c10e..694ea82 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 ed0966f..085a0e6 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)

GitHub sha: a12c7fcb