2016-02-12 23:52:43 +08:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
|
|
|
# Version of your assets, change this if you want to expire all your assets.
|
|
|
|
Rails.application.config.assets.version = '1.0'
|
|
|
|
|
2017-06-23 21:19:08 +08:00
|
|
|
# Add additional assets to the asset load path.
|
2016-02-12 23:52:43 +08:00
|
|
|
# Rails.application.config.assets.paths << Emoji.images_path
|
2017-06-23 21:19:08 +08:00
|
|
|
# Add Yarn node_modules folder to the asset load path.
|
|
|
|
Rails.application.config.assets.paths << Rails.root.join('node_modules')
|
2016-02-12 23:52:43 +08:00
|
|
|
|
|
|
|
# Precompile additional assets.
|
2017-06-23 21:19:08 +08:00
|
|
|
# application.js, application.css, and all non-JS/CSS in the app/assets
|
|
|
|
# folder are already added.
|
|
|
|
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
|
|
|
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(underscore.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(jsPlumb-2.0.4-min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(jsnetworkx.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(handsontable.full.min.js)
|
2018-07-04 18:42:28 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
2018-06-29 20:28:06 +08:00
|
|
|
%w(sugar.min.js jquerymy-1.2.14.min.js)
|
2018-04-06 20:20:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/list_toggle.js.erb)
|
2017-02-09 18:07:16 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
2017-02-09 21:33:12 +08:00
|
|
|
%w(users/settings/account/preferences/index.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/teams/index.js)
|
2017-02-03 06:52:07 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
2017-02-09 21:33:12 +08:00
|
|
|
%w(users/settings/teams/datatable.js)
|
2017-01-25 22:00:14 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(users/settings/teams/add_user_modal.js)
|
2017-02-09 21:33:12 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/teams/show.js)
|
2018-08-20 19:13:34 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(users/settings/teams/invite_users_modal.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/activities.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/protocols.js)
|
2017-01-25 22:00:14 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(my_modules/protocols/protocol_status_bar.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/results.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(results/result_tables.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(results/result_assets.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(results/result_texts.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/registrations/edit.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(jquery-ui/draggable.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(jquery-ui/droppable.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(jquery.ui.touch-punch.min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(bootstrap-colorselector.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(eventPause-min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(sidebar.js)
|
2018-04-24 14:26:55 +08:00
|
|
|
# Rails.application.config.assets.precompile += %w(samples/samples.js)
|
|
|
|
# Rails.application.config.assets.precompile += %w(samples/sample_datatable.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(projects/index.js)
|
2018-04-24 14:26:55 +08:00
|
|
|
# Rails.application.config.assets.precompile += %w(samples/samples_importer.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(projects/canvas.js)
|
2017-01-25 22:00:14 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(experiments/dropdown_actions.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(reports/new.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(protocols/index.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(protocols/header.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(protocols/steps.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(protocols/edit.js)
|
2017-01-25 22:00:14 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(protocols/import_export/eln_table.js)
|
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(protocols/import_export/import.js)
|
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(protocols/import_export/export.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(datatables.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(search/index.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(navigation.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(datatables.css)
|
|
|
|
Rails.application.config.assets.precompile += %w(my_modules.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(canvas-to-blob.min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(Sortable.min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(reports_pdf.css)
|
|
|
|
Rails.application.config.assets.precompile += %w(jszip.min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(assets.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(comments.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(projects/show.js)
|
2016-10-04 17:51:47 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(notifications.js)
|
2016-11-03 18:27:17 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/invite_users_modal.js)
|
2018-04-24 14:26:55 +08:00
|
|
|
# Rails.application.config.assets.precompile += %w(samples/sample_types_groups.js)
|
2017-01-20 00:09:25 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(highlightjs-github-theme.css)
|
2017-05-05 22:41:23 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(search.js)
|
2017-05-22 23:54:30 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/index.js)
|
2017-06-16 17:52:26 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/edit.js)
|
2017-06-06 23:35:29 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(repositories/repository_datatable.js)
|
2017-07-17 21:05:28 +08:00
|
|
|
Rails.application.config.assets.precompile +=
|
|
|
|
%w(repositories/my_module_repository.js)
|
2018-03-12 18:01:23 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(activities/index.js)
|
2018-03-22 16:35:36 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repository_columns/index.js)
|
2018-03-20 21:45:57 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/show.js)
|
2018-03-28 20:12:11 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(sidebar_toggle.js)
|
2018-04-18 22:47:52 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(reports/reports_datatable.js)
|
2018-05-16 15:31:19 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(reports/save_pdf_to_inventory.js)
|
2016-09-05 19:36:45 +08:00
|
|
|
|
|
|
|
# Libraries needed for Handsontable formulas
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(lodash.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(numeral.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(numeric.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(md5.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(jstat.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(formula.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(parser.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(ruleJS.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(handsontable.formula.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(handsontable.formula.css)
|
|
|
|
Rails.application.config.assets.precompile += %w(big.min.js)
|