Convert select-kit from es6 to js (#9246)

* Convert select-kit from es6 to js

* Hide more git blames
This commit is contained in:
Robin Ward 2020-03-20 12:40:32 -04:00 committed by GitHub
parent 69df19a663
commit 07813c4a91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
77 changed files with 8 additions and 1 deletions

View File

@ -13,3 +13,9 @@ dafd3c3b47f116c6c1dc56cb18df614c11747733
# Rename admin app es6 -> js # Rename admin app es6 -> js
181758e3248b14ad8b53abe063da8dc6a82d3089 181758e3248b14ad8b53abe063da8dc6a82d3089
# Rename pretty-text from es6 -> js
c15056650647e8650288f973d9038500dc9cf7bb
# Rename select kit from es6 -> js
acc5cbdf8ecb9293a0fa9474ee73baf499c02428

View File

@ -38,7 +38,8 @@ class DiscourseJsProcessor
relative_path = filename.sub(Rails.root.to_s, '').sub(/^\/*/, '') relative_path = filename.sub(Rails.root.to_s, '').sub(/^\/*/, '')
relative_path.start_with?("app/assets/javascripts/discourse/") || relative_path.start_with?("app/assets/javascripts/discourse/") ||
relative_path.start_with?("app/assets/javascripts/admin/") || relative_path.start_with?("app/assets/javascripts/admin/") ||
relative_path.start_with?("app/assets/javascripts/pretty-text/") relative_path.start_with?("app/assets/javascripts/pretty-text/") ||
relative_path.start_with?("app/assets/javascripts/select-kit/")
end end
def self.skip_module?(data) def self.skip_module?(data)