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
|
|
|
|
|
|
|
|
# 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)
|
2021-05-04 22:05:19 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(handsontable.full.js)
|
2020-12-10 23:16:11 +08:00
|
|
|
Rails.application.config.assets.precompile += %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)
|
2020-12-10 23:16:11 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/account/preferences/index.js)
|
2017-02-09 21:33:12 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/teams/index.js)
|
2020-12-10 23:16:11 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/teams/datatable.js)
|
|
|
|
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)
|
2020-12-10 23:16:11 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/teams/invite_users_modal.js)
|
2021-06-03 20:00:43 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/settings/webhooks/index.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)
|
2020-04-07 01:52:41 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/repositories.js)
|
2020-07-22 15:45:56 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/status_flow.js)
|
2020-12-10 23:16:11 +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)
|
2022-01-28 18:10:56 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/stock.js)
|
2022-11-02 22:17:10 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/tags.js)
|
2020-12-11 18:52:24 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/archived.js)
|
2020-10-19 18:17:03 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(my_modules/pwa_mobile_app.js)
|
2019-03-16 03:59:15 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(assets/wopi/create_wopi_file.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
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)
|
2020-01-16 21:58:59 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(emojione.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(emojionearea.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(eventPause-min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(sidebar.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(projects/index.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(projects/canvas.js)
|
2020-12-10 23:16:11 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(experiments/dropdown_actions.js)
|
2022-10-20 16:42:38 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(experiments/table.js)
|
2022-09-29 05:18:36 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(experiments/show.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)
|
2022-12-19 20:18:24 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(protocols/protocolsio.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(protocols/header.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(protocols/steps.js)
|
2023-02-17 21:27:20 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(protocols/new_protocol.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(protocols/edit.js)
|
2020-12-10 23:16:11 +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)
|
2023-05-03 17:31:17 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(protocols/handson.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)
|
2019-03-06 17:34:04 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(global_activities/side_pane.js)
|
2016-09-13 15:54:40 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(navigation.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(my_modules.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(Sortable.min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(jszip.min.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)
|
2017-05-05 22:41:23 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(search.js)
|
2021-08-02 21:38:37 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(label_printers/index.js)
|
2022-08-04 17:14:35 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(label_printers/zebra_settings.js)
|
2017-05-22 23:54:30 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/index.js)
|
2023-05-30 22:15:20 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/share_modal.js)
|
2017-06-16 17:52:26 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/edit.js)
|
2022-01-26 17:28:43 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/stock.js)
|
2020-12-10 23:16:11 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repositories/repository_datatable.js)
|
2019-02-27 23:02:53 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(global_activities/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)
|
2021-04-28 20:37:16 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(reports/content.js)
|
2022-08-08 18:24:50 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(session_end.js)
|
2022-07-27 16:10:32 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(label_templates/label_templates_datatable.js)
|
2023-03-21 23:44:24 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/connected_devices.js)
|
2022-09-23 18:34:43 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(BrowserPrint-3.0.216.min.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(BrowserPrint-Zebra-1.0.216.min.js)
|
2023-03-09 18:54:58 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(users/login_disclaimer.js)
|
2023-05-03 17:31:17 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(assets/office_form.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(global_activities/date_picker.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(shared/color_picker_select.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/confirmation/new.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/invitations/team_errors.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/invitations/resource_errors.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/registrations/team_errors.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/registrations/resource_errors.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/registrations/new_with_provider.js)
|
2023-05-16 15:34:36 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(repository_columns/manage_column_partials/number.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(repository_columns/manage_column_partials/stock.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(shared/file_preview.js)
|
|
|
|
Rails.application.config.assets.precompile += %w(users/shared/linkedin_sign_in_links.js)
|
2023-05-18 20:20:20 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(reports/template_helpers.js)
|
2023-07-11 22:01:42 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(shareable_links/my_module_protocol_show.js)
|
2023-07-11 14:16:29 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(shareable_links/repositories.js)
|
2023-08-01 16:38:00 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(shareable_links/date_formatting.js)
|
2023-08-07 16:45:52 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(shareable_links/my_module_results_show.js)
|
2016-09-05 19:36:45 +08:00
|
|
|
|
|
|
|
# Libraries needed for Handsontable formulas
|
2021-04-28 20:37:16 +08:00
|
|
|
Rails.application.config.assets.precompile += %w(jquery.js)
|
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(big.min.js)
|
2022-09-05 17:29:19 +08:00
|
|
|
|
|
|
|
# JQuery related includes
|
|
|
|
Rails.application.config.assets.precompile += %w(jquery_bundle.js)
|
2023-08-10 18:11:22 +08:00
|
|
|
|
2023-08-02 20:13:04 +08:00
|
|
|
# Separate icon font file
|
|
|
|
Rails.application.config.assets.precompile += %w(sn_icon_font.css)
|
|
|
|
|
|
|
|
# Separate translations file
|
|
|
|
Rails.application.config.assets.precompile += %w(i18n_bundle.js)
|
2023-08-16 16:41:26 +08:00
|
|
|
|
2023-08-10 18:11:22 +08:00
|
|
|
# Add stuff installed by yarn
|
|
|
|
Rails.application.config.assets.paths << Rails.root.join('node_modules')
|