remove unused precompiled JS files

This commit is contained in:
Benjamin Neff 2016-09-19 02:52:15 +02:00 committed by Steffen van Bergerem
parent fccabf9983
commit be33b425ba
No known key found for this signature in database
GPG key ID: 315C9787D548DC6B

View file

@ -65,29 +65,24 @@ module Diaspora
config.assets.initialize_on_precompile = false
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
config.assets.precompile += %w{
aspect-contacts.js
config.assets.precompile += %w(
contact-list.js
ie.js
inbox.js
jquery2.js
jquery_ujs.js
jquery-textchange.js
main.js
jsxc.js
mobile/bookmarklet.js
mobile/mobile.js
people.js
publisher.js
templates.js
validation.js
error_pages.css
admin.css
rtl.css
color_themes/*/desktop.css
color_themes/*/mobile.css
}
)
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'