From ea3160d96bd1d67842577a4b8c2c6d301162a486 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Mon, 22 May 2023 17:04:31 -0400 Subject: [PATCH] build: xmodule/js -> xmodule/static/js TODO: * commit details * understand PIPELINE['javascript'] * look for any other code that expects modules at xmodule/js instead of xmodule/static/js Part of: https://github.com/openedx/edx-platform/issues/31624 --- cms/envs/common.py | 2 +- lms/envs/common.py | 4 +- webpack-config/file-lists.js | 2 +- .../js/RequireJS-namespace-undefine.js | 0 xmodule/{ => static}/js/common_static | 0 .../{ => static}/js/fixtures/annotatable.html | 0 .../js/fixtures/checkbox_problem.html | 0 .../js/fixtures/codeinput_problem.html | 0 .../XXXXXXXXT114-V015600_0_.m3u8 | 0 .../XXXXXXXXT114-V015600_0_0.ts | Bin .../XXXXXXXXT114-V015600_0_1.ts | Bin .../XXXXXXXXT114-V015600_0_2.ts | Bin .../XXXXXXXXT114-V015600_1_.m3u8 | 0 .../XXXXXXXXT114-V015600_1_0.ts | Bin .../XXXXXXXXT114-V015600_1_1.ts | Bin .../XXXXXXXXT114-V015600_1_2.ts | Bin .../XXXXXXXXT114-V015600_2_.m3u8 | 0 .../XXXXXXXXT114-V015600_2_0.ts | Bin .../XXXXXXXXT114-V015600_2_1.ts | Bin .../XXXXXXXXT114-V015600_2_2.ts | Bin .../XXXXXXXXT114-V015600_3_.m3u8 | 0 .../XXXXXXXXT114-V015600_3_0.ts | Bin .../XXXXXXXXT114-V015600_3_1.ts | Bin .../XXXXXXXXT114-V015600_3_2.ts | Bin .../XXXXXXXXT114-V015600_4_.m3u8 | 0 .../XXXXXXXXT114-V015600_4_0.ts | Bin .../XXXXXXXXT114-V015600_4_1.ts | Bin .../XXXXXXXXT114-V015600_4_2.ts | Bin xmodule/{ => static}/js/fixtures/hls/hls.m3u8 | 0 .../js/fixtures/html-edit-visual.html | 0 .../js/fixtures/html-editor-raw.html | 0 .../{ => static}/js/fixtures/imageinput.html | 0 .../js/fixtures/imageinput.underscore | 0 xmodule/{ => static}/js/fixtures/items.json | 0 .../js/fixtures/jsinput_problem.html | 0 xmodule/{ => static}/js/fixtures/lti.html | 0 .../js/fixtures/matlabinput_problem.html | 0 xmodule/{ => static}/js/fixtures/poster.jpg | Bin .../js/fixtures/problem-with-markdown.html | 0 .../js/fixtures/problem-without-markdown.html | 0 xmodule/{ => static}/js/fixtures/problem.html | 0 .../js/fixtures/problem_content.html | 0 .../js/fixtures/problem_content_1240.html | 0 .../js/fixtures/radiobutton_problem.html | 0 .../{ => static}/js/fixtures/sequence.html | 0 .../js/fixtures/split_test_staff.html | 0 .../{ => static}/js/fixtures/tabs-edit.html | 0 xmodule/{ => static}/js/fixtures/test.mp4 | Bin xmodule/{ => static}/js/fixtures/test.ogv | Bin xmodule/{ => static}/js/fixtures/test.webm | Bin xmodule/{ => static}/js/fixtures/video.html | 0 .../{ => static}/js/fixtures/video_all.html | 0 .../js/fixtures/video_autoadvance.html | 0 .../fixtures/video_autoadvance_disabled.html | 0 .../{ => static}/js/fixtures/video_hls.html | 0 .../{ => static}/js/fixtures/video_html5.html | 0 .../js/fixtures/video_no_captions.html | 0 .../js/fixtures/video_with_bumper.html | 0 .../js/fixtures/video_yt_multiple.html | 0 .../js/fixtures/youtube_iframe_api.js | 0 xmodule/{ => static}/js/karma_runner.js | 0 .../{ => static}/js/karma_runner_webpack.js | 0 xmodule/{ => static}/js/karma_xmodule.conf.js | 0 .../js/karma_xmodule_webpack.conf.js | 0 xmodule/{ => static}/js/libpeerconnection.log | 0 .../js/public/js/library_content_edit.js | 0 .../js/public/js/split_test_author_view.js | 0 .../js/public/js/split_test_staff.js | 0 .../js/public/js/split_test_student.js | 0 .../js/public/js/vertical_student_view.js | 0 .../js/spec/annotatable/display_spec.js | 0 .../{ => static}/js/spec/capa/display_spec.js | 0 .../js/spec/capa/imageinput_spec.js | 0 .../{ => static}/js/spec/collapsible_spec.js | 0 xmodule/{ => static}/js/spec/helper.js | 0 .../{ => static}/js/spec/html/edit_spec.js | 0 .../{ => static}/js/spec/main_requirejs.js | 0 .../{ => static}/js/spec/problem/edit_spec.js | 0 .../js/spec/problem/edit_spec_hint.js | 0 .../js/spec/sequence/display_spec.js | 0 .../js/spec/split_test/staff_view_spec.js | 0 xmodule/{ => static}/js/spec/tabs/edit.js | 0 xmodule/{ => static}/js/spec/time_spec.js | 0 .../js/spec/video/async_process_spec.js | 0 .../js/spec/video/completion_spec.js | 0 .../{ => static}/js/spec/video/events_spec.js | 0 .../js/spec/video/general_spec.js | 0 .../js/spec/video/html5_video_spec.js | 0 .../js/spec/video/initialize_spec.js | 0 .../js/spec/video/iterator_spec.js | 0 .../js/spec/video/resizer_spec.js | 0 .../{ => static}/js/spec/video/sjson_spec.js | 0 .../js/spec/video/social_share_spec.js | 0 .../js/spec/video/video_autoadvance_spec.js | 0 .../js/spec/video/video_bumper_spec.js | 0 .../js/spec/video/video_caption_spec.js | 0 .../js/spec/video/video_context_menu_spec.js | 0 .../js/spec/video/video_control_spec.js | 0 .../video/video_events_bumper_plugin_spec.js | 0 .../js/spec/video/video_events_plugin_spec.js | 0 .../js/spec/video/video_focus_grabber_spec.js | 0 .../js/spec/video/video_full_screen_spec.js | 0 .../video/video_play_pause_control_spec.js | 0 .../spec/video/video_play_placeholder_spec.js | 0 .../video/video_play_skip_control_spec.js | 0 .../js/spec/video/video_player_spec.js | 0 .../js/spec/video/video_poster_spec.js | 0 .../spec/video/video_progress_slider_spec.js | 0 .../spec/video/video_quality_control_spec.js | 0 .../video/video_save_state_plugin_spec.js | 0 .../js/spec/video/video_skip_control_spec.js | 0 .../js/spec/video/video_speed_control_spec.js | 0 .../js/spec/video/video_storage_spec.js | 0 .../spec/video/video_volume_control_spec.js | 0 xmodule/{ => static}/js/spec/video_helper.js | 0 xmodule/{ => static}/js/spec/xmodule_spec.js | 0 .../js/src/annotatable/display.js | 0 xmodule/{ => static}/js/src/capa/.gitignore | 0 xmodule/{ => static}/js/src/capa/display.js | 0 .../{ => static}/js/src/capa/imageinput.js | 0 xmodule/{ => static}/js/src/capa/schematic.js | 0 xmodule/{ => static}/js/src/collapsible.js | 0 .../js/src/conditional/display.js | 0 .../{ => static}/js/src/discussion/display.js | 0 xmodule/{ => static}/js/src/html/display.js | 0 xmodule/{ => static}/js/src/html/edit.js | 0 .../{ => static}/js/src/html/imageModal.js | 0 .../{ => static}/js/src/javascript_loader.js | 0 xmodule/{ => static}/js/src/lti/lti.js | 0 xmodule/{ => static}/js/src/poll/.gitignore | 0 xmodule/{ => static}/js/src/poll/poll.js | 0 xmodule/{ => static}/js/src/poll/poll_main.js | 0 .../{ => static}/js/src/problem/.gitignore | 0 xmodule/{ => static}/js/src/problem/edit.js | 0 .../js/src/raw/edit/metadata-only.js | 0 xmodule/{ => static}/js/src/raw/edit/xml.js | 0 .../{ => static}/js/src/sequence/display.js | 0 xmodule/{ => static}/js/src/sequence/edit.js | 0 .../js/src/tabs/tabs-aggregator.js | 0 xmodule/{ => static}/js/src/time.js | 0 xmodule/{ => static}/js/src/vertical/edit.js | 0 .../js/src/video/00_async_process.js | 0 .../{ => static}/js/src/video/00_component.js | 0 xmodule/{ => static}/js/src/video/00_i18n.js | 0 .../{ => static}/js/src/video/00_iterator.js | 0 .../{ => static}/js/src/video/00_resizer.js | 0 xmodule/{ => static}/js/src/video/00_sjson.js | 0 .../js/src/video/00_video_storage.js | 0 .../js/src/video/01_initialize.js | 0 .../js/src/video/025_focus_grabber.js | 0 .../js/src/video/02_html5_hls_video.js | 0 .../js/src/video/02_html5_video.js | 0 .../js/src/video/035_video_accessible_menu.js | 0 .../js/src/video/036_video_social_sharing.js | 0 .../js/src/video/03_video_player.js | 0 .../js/src/video/04_video_control.js | 0 .../js/src/video/04_video_full_screen.js | 0 .../js/src/video/05_video_quality_control.js | 0 .../js/src/video/06_video_progress_slider.js | 0 .../js/src/video/07_video_volume_control.js | 0 .../video/08_video_auto_advance_control.js | 0 .../js/src/video/08_video_speed_control.js | 0 .../js/src/video/095_video_context_menu.js | 0 .../{ => static}/js/src/video/09_bumper.js | 0 .../js/src/video/09_completion.js | 0 .../js/src/video/09_events_bumper_plugin.js | 0 .../js/src/video/09_events_plugin.js | 0 .../js/src/video/09_play_pause_control.js | 0 .../js/src/video/09_play_placeholder.js | 0 .../js/src/video/09_play_skip_control.js | 0 .../{ => static}/js/src/video/09_poster.js | 0 .../js/src/video/09_save_state_plugin.js | 0 .../js/src/video/09_skip_control.js | 0 .../js/src/video/09_video_caption.js | 0 .../{ => static}/js/src/video/10_commands.js | 0 xmodule/{ => static}/js/src/video/10_main.js | 0 xmodule/{ => static}/js/src/xmodule.js | 0 xmodule/static/webpack.xmodule.config.js | 162 +++++++++--------- 178 files changed, 85 insertions(+), 85 deletions(-) rename xmodule/{ => static}/js/RequireJS-namespace-undefine.js (100%) rename xmodule/{ => static}/js/common_static (100%) rename xmodule/{ => static}/js/fixtures/annotatable.html (100%) rename xmodule/{ => static}/js/fixtures/checkbox_problem.html (100%) rename xmodule/{ => static}/js/fixtures/codeinput_problem.html (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_.m3u8 (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_0.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_1.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_2.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_.m3u8 (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_0.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_1.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_2.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_.m3u8 (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_0.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_1.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_2.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_.m3u8 (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_0.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_1.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_2.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_.m3u8 (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_0.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_1.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_2.ts (100%) rename xmodule/{ => static}/js/fixtures/hls/hls.m3u8 (100%) rename xmodule/{ => static}/js/fixtures/html-edit-visual.html (100%) rename xmodule/{ => static}/js/fixtures/html-editor-raw.html (100%) rename xmodule/{ => static}/js/fixtures/imageinput.html (100%) rename xmodule/{ => static}/js/fixtures/imageinput.underscore (100%) rename xmodule/{ => static}/js/fixtures/items.json (100%) rename xmodule/{ => static}/js/fixtures/jsinput_problem.html (100%) rename xmodule/{ => static}/js/fixtures/lti.html (100%) rename xmodule/{ => static}/js/fixtures/matlabinput_problem.html (100%) rename xmodule/{ => static}/js/fixtures/poster.jpg (100%) rename xmodule/{ => static}/js/fixtures/problem-with-markdown.html (100%) rename xmodule/{ => static}/js/fixtures/problem-without-markdown.html (100%) rename xmodule/{ => static}/js/fixtures/problem.html (100%) rename xmodule/{ => static}/js/fixtures/problem_content.html (100%) rename xmodule/{ => static}/js/fixtures/problem_content_1240.html (100%) rename xmodule/{ => static}/js/fixtures/radiobutton_problem.html (100%) rename xmodule/{ => static}/js/fixtures/sequence.html (100%) rename xmodule/{ => static}/js/fixtures/split_test_staff.html (100%) rename xmodule/{ => static}/js/fixtures/tabs-edit.html (100%) rename xmodule/{ => static}/js/fixtures/test.mp4 (100%) rename xmodule/{ => static}/js/fixtures/test.ogv (100%) rename xmodule/{ => static}/js/fixtures/test.webm (100%) rename xmodule/{ => static}/js/fixtures/video.html (100%) rename xmodule/{ => static}/js/fixtures/video_all.html (100%) rename xmodule/{ => static}/js/fixtures/video_autoadvance.html (100%) rename xmodule/{ => static}/js/fixtures/video_autoadvance_disabled.html (100%) rename xmodule/{ => static}/js/fixtures/video_hls.html (100%) rename xmodule/{ => static}/js/fixtures/video_html5.html (100%) rename xmodule/{ => static}/js/fixtures/video_no_captions.html (100%) rename xmodule/{ => static}/js/fixtures/video_with_bumper.html (100%) rename xmodule/{ => static}/js/fixtures/video_yt_multiple.html (100%) rename xmodule/{ => static}/js/fixtures/youtube_iframe_api.js (100%) rename xmodule/{ => static}/js/karma_runner.js (100%) rename xmodule/{ => static}/js/karma_runner_webpack.js (100%) rename xmodule/{ => static}/js/karma_xmodule.conf.js (100%) rename xmodule/{ => static}/js/karma_xmodule_webpack.conf.js (100%) rename xmodule/{ => static}/js/libpeerconnection.log (100%) rename xmodule/{ => static}/js/public/js/library_content_edit.js (100%) rename xmodule/{ => static}/js/public/js/split_test_author_view.js (100%) rename xmodule/{ => static}/js/public/js/split_test_staff.js (100%) rename xmodule/{ => static}/js/public/js/split_test_student.js (100%) rename xmodule/{ => static}/js/public/js/vertical_student_view.js (100%) rename xmodule/{ => static}/js/spec/annotatable/display_spec.js (100%) rename xmodule/{ => static}/js/spec/capa/display_spec.js (100%) rename xmodule/{ => static}/js/spec/capa/imageinput_spec.js (100%) rename xmodule/{ => static}/js/spec/collapsible_spec.js (100%) rename xmodule/{ => static}/js/spec/helper.js (100%) rename xmodule/{ => static}/js/spec/html/edit_spec.js (100%) rename xmodule/{ => static}/js/spec/main_requirejs.js (100%) rename xmodule/{ => static}/js/spec/problem/edit_spec.js (100%) rename xmodule/{ => static}/js/spec/problem/edit_spec_hint.js (100%) rename xmodule/{ => static}/js/spec/sequence/display_spec.js (100%) rename xmodule/{ => static}/js/spec/split_test/staff_view_spec.js (100%) rename xmodule/{ => static}/js/spec/tabs/edit.js (100%) rename xmodule/{ => static}/js/spec/time_spec.js (100%) rename xmodule/{ => static}/js/spec/video/async_process_spec.js (100%) rename xmodule/{ => static}/js/spec/video/completion_spec.js (100%) rename xmodule/{ => static}/js/spec/video/events_spec.js (100%) rename xmodule/{ => static}/js/spec/video/general_spec.js (100%) rename xmodule/{ => static}/js/spec/video/html5_video_spec.js (100%) rename xmodule/{ => static}/js/spec/video/initialize_spec.js (100%) rename xmodule/{ => static}/js/spec/video/iterator_spec.js (100%) rename xmodule/{ => static}/js/spec/video/resizer_spec.js (100%) rename xmodule/{ => static}/js/spec/video/sjson_spec.js (100%) rename xmodule/{ => static}/js/spec/video/social_share_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_autoadvance_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_bumper_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_caption_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_context_menu_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_control_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_events_bumper_plugin_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_events_plugin_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_focus_grabber_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_full_screen_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_play_pause_control_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_play_placeholder_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_play_skip_control_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_player_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_poster_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_progress_slider_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_quality_control_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_save_state_plugin_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_skip_control_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_speed_control_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_storage_spec.js (100%) rename xmodule/{ => static}/js/spec/video/video_volume_control_spec.js (100%) rename xmodule/{ => static}/js/spec/video_helper.js (100%) rename xmodule/{ => static}/js/spec/xmodule_spec.js (100%) rename xmodule/{ => static}/js/src/annotatable/display.js (100%) rename xmodule/{ => static}/js/src/capa/.gitignore (100%) rename xmodule/{ => static}/js/src/capa/display.js (100%) rename xmodule/{ => static}/js/src/capa/imageinput.js (100%) rename xmodule/{ => static}/js/src/capa/schematic.js (100%) rename xmodule/{ => static}/js/src/collapsible.js (100%) rename xmodule/{ => static}/js/src/conditional/display.js (100%) rename xmodule/{ => static}/js/src/discussion/display.js (100%) rename xmodule/{ => static}/js/src/html/display.js (100%) rename xmodule/{ => static}/js/src/html/edit.js (100%) rename xmodule/{ => static}/js/src/html/imageModal.js (100%) rename xmodule/{ => static}/js/src/javascript_loader.js (100%) rename xmodule/{ => static}/js/src/lti/lti.js (100%) rename xmodule/{ => static}/js/src/poll/.gitignore (100%) rename xmodule/{ => static}/js/src/poll/poll.js (100%) rename xmodule/{ => static}/js/src/poll/poll_main.js (100%) rename xmodule/{ => static}/js/src/problem/.gitignore (100%) rename xmodule/{ => static}/js/src/problem/edit.js (100%) rename xmodule/{ => static}/js/src/raw/edit/metadata-only.js (100%) rename xmodule/{ => static}/js/src/raw/edit/xml.js (100%) rename xmodule/{ => static}/js/src/sequence/display.js (100%) rename xmodule/{ => static}/js/src/sequence/edit.js (100%) rename xmodule/{ => static}/js/src/tabs/tabs-aggregator.js (100%) rename xmodule/{ => static}/js/src/time.js (100%) rename xmodule/{ => static}/js/src/vertical/edit.js (100%) rename xmodule/{ => static}/js/src/video/00_async_process.js (100%) rename xmodule/{ => static}/js/src/video/00_component.js (100%) rename xmodule/{ => static}/js/src/video/00_i18n.js (100%) rename xmodule/{ => static}/js/src/video/00_iterator.js (100%) rename xmodule/{ => static}/js/src/video/00_resizer.js (100%) rename xmodule/{ => static}/js/src/video/00_sjson.js (100%) rename xmodule/{ => static}/js/src/video/00_video_storage.js (100%) rename xmodule/{ => static}/js/src/video/01_initialize.js (100%) rename xmodule/{ => static}/js/src/video/025_focus_grabber.js (100%) rename xmodule/{ => static}/js/src/video/02_html5_hls_video.js (100%) rename xmodule/{ => static}/js/src/video/02_html5_video.js (100%) rename xmodule/{ => static}/js/src/video/035_video_accessible_menu.js (100%) rename xmodule/{ => static}/js/src/video/036_video_social_sharing.js (100%) rename xmodule/{ => static}/js/src/video/03_video_player.js (100%) rename xmodule/{ => static}/js/src/video/04_video_control.js (100%) rename xmodule/{ => static}/js/src/video/04_video_full_screen.js (100%) rename xmodule/{ => static}/js/src/video/05_video_quality_control.js (100%) rename xmodule/{ => static}/js/src/video/06_video_progress_slider.js (100%) rename xmodule/{ => static}/js/src/video/07_video_volume_control.js (100%) rename xmodule/{ => static}/js/src/video/08_video_auto_advance_control.js (100%) rename xmodule/{ => static}/js/src/video/08_video_speed_control.js (100%) rename xmodule/{ => static}/js/src/video/095_video_context_menu.js (100%) rename xmodule/{ => static}/js/src/video/09_bumper.js (100%) rename xmodule/{ => static}/js/src/video/09_completion.js (100%) rename xmodule/{ => static}/js/src/video/09_events_bumper_plugin.js (100%) rename xmodule/{ => static}/js/src/video/09_events_plugin.js (100%) rename xmodule/{ => static}/js/src/video/09_play_pause_control.js (100%) rename xmodule/{ => static}/js/src/video/09_play_placeholder.js (100%) rename xmodule/{ => static}/js/src/video/09_play_skip_control.js (100%) rename xmodule/{ => static}/js/src/video/09_poster.js (100%) rename xmodule/{ => static}/js/src/video/09_save_state_plugin.js (100%) rename xmodule/{ => static}/js/src/video/09_skip_control.js (100%) rename xmodule/{ => static}/js/src/video/09_video_caption.js (100%) rename xmodule/{ => static}/js/src/video/10_commands.js (100%) rename xmodule/{ => static}/js/src/video/10_main.js (100%) rename xmodule/{ => static}/js/src/xmodule.js (100%) diff --git a/cms/envs/common.py b/cms/envs/common.py index e7d26f3d819..d2e714eea6d 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -1385,7 +1385,7 @@ }, 'module-js': { 'source_filenames': ( - rooted_glob(COMMON_ROOT / 'static/', 'xmodule/js/*.js') + + rooted_glob(COMMON_ROOT / 'static/', 'xmodule/static/js/*.js') + rooted_glob(COMMON_ROOT / 'static/', 'common/js/discussion/*.js') ), 'output_filename': 'js/cms-modules.js', diff --git a/lms/envs/common.py b/lms/envs/common.py index fd6beeab054..e002fe79ce5 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2568,11 +2568,11 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring 'output_filename': 'js/lms-main_vendor.js', }, 'module-descriptor-js': { - 'source_filenames': rooted_glob(COMMON_ROOT / 'static/', 'xmodule/js/*.js'), + 'source_filenames': rooted_glob(COMMON_ROOT / 'static/', 'xmodule/static/js/*.js'), 'output_filename': 'js/lms-module-descriptors.js', }, 'module-js': { - 'source_filenames': rooted_glob(COMMON_ROOT / 'static', 'xmodule/js/*.js'), + 'source_filenames': rooted_glob(COMMON_ROOT / 'static', 'xmodule/static/js/*.js'), 'output_filename': 'js/lms-modules.js', }, 'discussion': { diff --git a/webpack-config/file-lists.js b/webpack-config/file-lists.js index 9f652d60e7b..eb4d9c3b411 100644 --- a/webpack-config/file-lists.js +++ b/webpack-config/file-lists.js @@ -10,7 +10,7 @@ module.exports = { path.resolve(__dirname, '../common/static/common/js/components/views/paging_footer.js'), path.resolve(__dirname, '../cms/static/js/views/paging.js'), path.resolve(__dirname, '../common/static/common/js/components/utils/view_utils.js'), - /xmodule\/js\/src\//, + /xmodule\/static\/js\/src\//, path.resolve(__dirname, '../openedx/features/course_bookmarks/static/course_bookmarks/js/views/bookmark_button.js') ], diff --git a/xmodule/js/RequireJS-namespace-undefine.js b/xmodule/static/js/RequireJS-namespace-undefine.js similarity index 100% rename from xmodule/js/RequireJS-namespace-undefine.js rename to xmodule/static/js/RequireJS-namespace-undefine.js diff --git a/xmodule/js/common_static b/xmodule/static/js/common_static similarity index 100% rename from xmodule/js/common_static rename to xmodule/static/js/common_static diff --git a/xmodule/js/fixtures/annotatable.html b/xmodule/static/js/fixtures/annotatable.html similarity index 100% rename from xmodule/js/fixtures/annotatable.html rename to xmodule/static/js/fixtures/annotatable.html diff --git a/xmodule/js/fixtures/checkbox_problem.html b/xmodule/static/js/fixtures/checkbox_problem.html similarity index 100% rename from xmodule/js/fixtures/checkbox_problem.html rename to xmodule/static/js/fixtures/checkbox_problem.html diff --git a/xmodule/js/fixtures/codeinput_problem.html b/xmodule/static/js/fixtures/codeinput_problem.html similarity index 100% rename from xmodule/js/fixtures/codeinput_problem.html rename to xmodule/static/js/fixtures/codeinput_problem.html diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_.m3u8 b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_.m3u8 similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_.m3u8 rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_.m3u8 diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_0.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_0.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_0.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_0.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_1.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_1.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_1.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_1.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_2.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_2.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_2.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_0_/XXXXXXXXT114-V015600_0_2.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_.m3u8 b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_.m3u8 similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_.m3u8 rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_.m3u8 diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_0.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_0.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_0.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_0.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_1.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_1.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_1.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_1.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_2.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_2.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_2.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_1_/XXXXXXXXT114-V015600_1_2.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_.m3u8 b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_.m3u8 similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_.m3u8 rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_.m3u8 diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_0.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_0.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_0.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_0.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_1.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_1.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_1.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_1.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_2.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_2.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_2.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_2_/XXXXXXXXT114-V015600_2_2.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_.m3u8 b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_.m3u8 similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_.m3u8 rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_.m3u8 diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_0.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_0.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_0.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_0.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_1.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_1.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_1.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_1.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_2.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_2.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_2.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_3_/XXXXXXXXT114-V015600_3_2.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_.m3u8 b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_.m3u8 similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_.m3u8 rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_.m3u8 diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_0.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_0.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_0.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_0.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_1.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_1.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_1.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_1.ts diff --git a/xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_2.ts b/xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_2.ts similarity index 100% rename from xmodule/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_2.ts rename to xmodule/static/js/fixtures/hls/XXXXXXXXT114-V015600_4_/XXXXXXXXT114-V015600_4_2.ts diff --git a/xmodule/js/fixtures/hls/hls.m3u8 b/xmodule/static/js/fixtures/hls/hls.m3u8 similarity index 100% rename from xmodule/js/fixtures/hls/hls.m3u8 rename to xmodule/static/js/fixtures/hls/hls.m3u8 diff --git a/xmodule/js/fixtures/html-edit-visual.html b/xmodule/static/js/fixtures/html-edit-visual.html similarity index 100% rename from xmodule/js/fixtures/html-edit-visual.html rename to xmodule/static/js/fixtures/html-edit-visual.html diff --git a/xmodule/js/fixtures/html-editor-raw.html b/xmodule/static/js/fixtures/html-editor-raw.html similarity index 100% rename from xmodule/js/fixtures/html-editor-raw.html rename to xmodule/static/js/fixtures/html-editor-raw.html diff --git a/xmodule/js/fixtures/imageinput.html b/xmodule/static/js/fixtures/imageinput.html similarity index 100% rename from xmodule/js/fixtures/imageinput.html rename to xmodule/static/js/fixtures/imageinput.html diff --git a/xmodule/js/fixtures/imageinput.underscore b/xmodule/static/js/fixtures/imageinput.underscore similarity index 100% rename from xmodule/js/fixtures/imageinput.underscore rename to xmodule/static/js/fixtures/imageinput.underscore diff --git a/xmodule/js/fixtures/items.json b/xmodule/static/js/fixtures/items.json similarity index 100% rename from xmodule/js/fixtures/items.json rename to xmodule/static/js/fixtures/items.json diff --git a/xmodule/js/fixtures/jsinput_problem.html b/xmodule/static/js/fixtures/jsinput_problem.html similarity index 100% rename from xmodule/js/fixtures/jsinput_problem.html rename to xmodule/static/js/fixtures/jsinput_problem.html diff --git a/xmodule/js/fixtures/lti.html b/xmodule/static/js/fixtures/lti.html similarity index 100% rename from xmodule/js/fixtures/lti.html rename to xmodule/static/js/fixtures/lti.html diff --git a/xmodule/js/fixtures/matlabinput_problem.html b/xmodule/static/js/fixtures/matlabinput_problem.html similarity index 100% rename from xmodule/js/fixtures/matlabinput_problem.html rename to xmodule/static/js/fixtures/matlabinput_problem.html diff --git a/xmodule/js/fixtures/poster.jpg b/xmodule/static/js/fixtures/poster.jpg similarity index 100% rename from xmodule/js/fixtures/poster.jpg rename to xmodule/static/js/fixtures/poster.jpg diff --git a/xmodule/js/fixtures/problem-with-markdown.html b/xmodule/static/js/fixtures/problem-with-markdown.html similarity index 100% rename from xmodule/js/fixtures/problem-with-markdown.html rename to xmodule/static/js/fixtures/problem-with-markdown.html diff --git a/xmodule/js/fixtures/problem-without-markdown.html b/xmodule/static/js/fixtures/problem-without-markdown.html similarity index 100% rename from xmodule/js/fixtures/problem-without-markdown.html rename to xmodule/static/js/fixtures/problem-without-markdown.html diff --git a/xmodule/js/fixtures/problem.html b/xmodule/static/js/fixtures/problem.html similarity index 100% rename from xmodule/js/fixtures/problem.html rename to xmodule/static/js/fixtures/problem.html diff --git a/xmodule/js/fixtures/problem_content.html b/xmodule/static/js/fixtures/problem_content.html similarity index 100% rename from xmodule/js/fixtures/problem_content.html rename to xmodule/static/js/fixtures/problem_content.html diff --git a/xmodule/js/fixtures/problem_content_1240.html b/xmodule/static/js/fixtures/problem_content_1240.html similarity index 100% rename from xmodule/js/fixtures/problem_content_1240.html rename to xmodule/static/js/fixtures/problem_content_1240.html diff --git a/xmodule/js/fixtures/radiobutton_problem.html b/xmodule/static/js/fixtures/radiobutton_problem.html similarity index 100% rename from xmodule/js/fixtures/radiobutton_problem.html rename to xmodule/static/js/fixtures/radiobutton_problem.html diff --git a/xmodule/js/fixtures/sequence.html b/xmodule/static/js/fixtures/sequence.html similarity index 100% rename from xmodule/js/fixtures/sequence.html rename to xmodule/static/js/fixtures/sequence.html diff --git a/xmodule/js/fixtures/split_test_staff.html b/xmodule/static/js/fixtures/split_test_staff.html similarity index 100% rename from xmodule/js/fixtures/split_test_staff.html rename to xmodule/static/js/fixtures/split_test_staff.html diff --git a/xmodule/js/fixtures/tabs-edit.html b/xmodule/static/js/fixtures/tabs-edit.html similarity index 100% rename from xmodule/js/fixtures/tabs-edit.html rename to xmodule/static/js/fixtures/tabs-edit.html diff --git a/xmodule/js/fixtures/test.mp4 b/xmodule/static/js/fixtures/test.mp4 similarity index 100% rename from xmodule/js/fixtures/test.mp4 rename to xmodule/static/js/fixtures/test.mp4 diff --git a/xmodule/js/fixtures/test.ogv b/xmodule/static/js/fixtures/test.ogv similarity index 100% rename from xmodule/js/fixtures/test.ogv rename to xmodule/static/js/fixtures/test.ogv diff --git a/xmodule/js/fixtures/test.webm b/xmodule/static/js/fixtures/test.webm similarity index 100% rename from xmodule/js/fixtures/test.webm rename to xmodule/static/js/fixtures/test.webm diff --git a/xmodule/js/fixtures/video.html b/xmodule/static/js/fixtures/video.html similarity index 100% rename from xmodule/js/fixtures/video.html rename to xmodule/static/js/fixtures/video.html diff --git a/xmodule/js/fixtures/video_all.html b/xmodule/static/js/fixtures/video_all.html similarity index 100% rename from xmodule/js/fixtures/video_all.html rename to xmodule/static/js/fixtures/video_all.html diff --git a/xmodule/js/fixtures/video_autoadvance.html b/xmodule/static/js/fixtures/video_autoadvance.html similarity index 100% rename from xmodule/js/fixtures/video_autoadvance.html rename to xmodule/static/js/fixtures/video_autoadvance.html diff --git a/xmodule/js/fixtures/video_autoadvance_disabled.html b/xmodule/static/js/fixtures/video_autoadvance_disabled.html similarity index 100% rename from xmodule/js/fixtures/video_autoadvance_disabled.html rename to xmodule/static/js/fixtures/video_autoadvance_disabled.html diff --git a/xmodule/js/fixtures/video_hls.html b/xmodule/static/js/fixtures/video_hls.html similarity index 100% rename from xmodule/js/fixtures/video_hls.html rename to xmodule/static/js/fixtures/video_hls.html diff --git a/xmodule/js/fixtures/video_html5.html b/xmodule/static/js/fixtures/video_html5.html similarity index 100% rename from xmodule/js/fixtures/video_html5.html rename to xmodule/static/js/fixtures/video_html5.html diff --git a/xmodule/js/fixtures/video_no_captions.html b/xmodule/static/js/fixtures/video_no_captions.html similarity index 100% rename from xmodule/js/fixtures/video_no_captions.html rename to xmodule/static/js/fixtures/video_no_captions.html diff --git a/xmodule/js/fixtures/video_with_bumper.html b/xmodule/static/js/fixtures/video_with_bumper.html similarity index 100% rename from xmodule/js/fixtures/video_with_bumper.html rename to xmodule/static/js/fixtures/video_with_bumper.html diff --git a/xmodule/js/fixtures/video_yt_multiple.html b/xmodule/static/js/fixtures/video_yt_multiple.html similarity index 100% rename from xmodule/js/fixtures/video_yt_multiple.html rename to xmodule/static/js/fixtures/video_yt_multiple.html diff --git a/xmodule/js/fixtures/youtube_iframe_api.js b/xmodule/static/js/fixtures/youtube_iframe_api.js similarity index 100% rename from xmodule/js/fixtures/youtube_iframe_api.js rename to xmodule/static/js/fixtures/youtube_iframe_api.js diff --git a/xmodule/js/karma_runner.js b/xmodule/static/js/karma_runner.js similarity index 100% rename from xmodule/js/karma_runner.js rename to xmodule/static/js/karma_runner.js diff --git a/xmodule/js/karma_runner_webpack.js b/xmodule/static/js/karma_runner_webpack.js similarity index 100% rename from xmodule/js/karma_runner_webpack.js rename to xmodule/static/js/karma_runner_webpack.js diff --git a/xmodule/js/karma_xmodule.conf.js b/xmodule/static/js/karma_xmodule.conf.js similarity index 100% rename from xmodule/js/karma_xmodule.conf.js rename to xmodule/static/js/karma_xmodule.conf.js diff --git a/xmodule/js/karma_xmodule_webpack.conf.js b/xmodule/static/js/karma_xmodule_webpack.conf.js similarity index 100% rename from xmodule/js/karma_xmodule_webpack.conf.js rename to xmodule/static/js/karma_xmodule_webpack.conf.js diff --git a/xmodule/js/libpeerconnection.log b/xmodule/static/js/libpeerconnection.log similarity index 100% rename from xmodule/js/libpeerconnection.log rename to xmodule/static/js/libpeerconnection.log diff --git a/xmodule/js/public/js/library_content_edit.js b/xmodule/static/js/public/js/library_content_edit.js similarity index 100% rename from xmodule/js/public/js/library_content_edit.js rename to xmodule/static/js/public/js/library_content_edit.js diff --git a/xmodule/js/public/js/split_test_author_view.js b/xmodule/static/js/public/js/split_test_author_view.js similarity index 100% rename from xmodule/js/public/js/split_test_author_view.js rename to xmodule/static/js/public/js/split_test_author_view.js diff --git a/xmodule/js/public/js/split_test_staff.js b/xmodule/static/js/public/js/split_test_staff.js similarity index 100% rename from xmodule/js/public/js/split_test_staff.js rename to xmodule/static/js/public/js/split_test_staff.js diff --git a/xmodule/js/public/js/split_test_student.js b/xmodule/static/js/public/js/split_test_student.js similarity index 100% rename from xmodule/js/public/js/split_test_student.js rename to xmodule/static/js/public/js/split_test_student.js diff --git a/xmodule/js/public/js/vertical_student_view.js b/xmodule/static/js/public/js/vertical_student_view.js similarity index 100% rename from xmodule/js/public/js/vertical_student_view.js rename to xmodule/static/js/public/js/vertical_student_view.js diff --git a/xmodule/js/spec/annotatable/display_spec.js b/xmodule/static/js/spec/annotatable/display_spec.js similarity index 100% rename from xmodule/js/spec/annotatable/display_spec.js rename to xmodule/static/js/spec/annotatable/display_spec.js diff --git a/xmodule/js/spec/capa/display_spec.js b/xmodule/static/js/spec/capa/display_spec.js similarity index 100% rename from xmodule/js/spec/capa/display_spec.js rename to xmodule/static/js/spec/capa/display_spec.js diff --git a/xmodule/js/spec/capa/imageinput_spec.js b/xmodule/static/js/spec/capa/imageinput_spec.js similarity index 100% rename from xmodule/js/spec/capa/imageinput_spec.js rename to xmodule/static/js/spec/capa/imageinput_spec.js diff --git a/xmodule/js/spec/collapsible_spec.js b/xmodule/static/js/spec/collapsible_spec.js similarity index 100% rename from xmodule/js/spec/collapsible_spec.js rename to xmodule/static/js/spec/collapsible_spec.js diff --git a/xmodule/js/spec/helper.js b/xmodule/static/js/spec/helper.js similarity index 100% rename from xmodule/js/spec/helper.js rename to xmodule/static/js/spec/helper.js diff --git a/xmodule/js/spec/html/edit_spec.js b/xmodule/static/js/spec/html/edit_spec.js similarity index 100% rename from xmodule/js/spec/html/edit_spec.js rename to xmodule/static/js/spec/html/edit_spec.js diff --git a/xmodule/js/spec/main_requirejs.js b/xmodule/static/js/spec/main_requirejs.js similarity index 100% rename from xmodule/js/spec/main_requirejs.js rename to xmodule/static/js/spec/main_requirejs.js diff --git a/xmodule/js/spec/problem/edit_spec.js b/xmodule/static/js/spec/problem/edit_spec.js similarity index 100% rename from xmodule/js/spec/problem/edit_spec.js rename to xmodule/static/js/spec/problem/edit_spec.js diff --git a/xmodule/js/spec/problem/edit_spec_hint.js b/xmodule/static/js/spec/problem/edit_spec_hint.js similarity index 100% rename from xmodule/js/spec/problem/edit_spec_hint.js rename to xmodule/static/js/spec/problem/edit_spec_hint.js diff --git a/xmodule/js/spec/sequence/display_spec.js b/xmodule/static/js/spec/sequence/display_spec.js similarity index 100% rename from xmodule/js/spec/sequence/display_spec.js rename to xmodule/static/js/spec/sequence/display_spec.js diff --git a/xmodule/js/spec/split_test/staff_view_spec.js b/xmodule/static/js/spec/split_test/staff_view_spec.js similarity index 100% rename from xmodule/js/spec/split_test/staff_view_spec.js rename to xmodule/static/js/spec/split_test/staff_view_spec.js diff --git a/xmodule/js/spec/tabs/edit.js b/xmodule/static/js/spec/tabs/edit.js similarity index 100% rename from xmodule/js/spec/tabs/edit.js rename to xmodule/static/js/spec/tabs/edit.js diff --git a/xmodule/js/spec/time_spec.js b/xmodule/static/js/spec/time_spec.js similarity index 100% rename from xmodule/js/spec/time_spec.js rename to xmodule/static/js/spec/time_spec.js diff --git a/xmodule/js/spec/video/async_process_spec.js b/xmodule/static/js/spec/video/async_process_spec.js similarity index 100% rename from xmodule/js/spec/video/async_process_spec.js rename to xmodule/static/js/spec/video/async_process_spec.js diff --git a/xmodule/js/spec/video/completion_spec.js b/xmodule/static/js/spec/video/completion_spec.js similarity index 100% rename from xmodule/js/spec/video/completion_spec.js rename to xmodule/static/js/spec/video/completion_spec.js diff --git a/xmodule/js/spec/video/events_spec.js b/xmodule/static/js/spec/video/events_spec.js similarity index 100% rename from xmodule/js/spec/video/events_spec.js rename to xmodule/static/js/spec/video/events_spec.js diff --git a/xmodule/js/spec/video/general_spec.js b/xmodule/static/js/spec/video/general_spec.js similarity index 100% rename from xmodule/js/spec/video/general_spec.js rename to xmodule/static/js/spec/video/general_spec.js diff --git a/xmodule/js/spec/video/html5_video_spec.js b/xmodule/static/js/spec/video/html5_video_spec.js similarity index 100% rename from xmodule/js/spec/video/html5_video_spec.js rename to xmodule/static/js/spec/video/html5_video_spec.js diff --git a/xmodule/js/spec/video/initialize_spec.js b/xmodule/static/js/spec/video/initialize_spec.js similarity index 100% rename from xmodule/js/spec/video/initialize_spec.js rename to xmodule/static/js/spec/video/initialize_spec.js diff --git a/xmodule/js/spec/video/iterator_spec.js b/xmodule/static/js/spec/video/iterator_spec.js similarity index 100% rename from xmodule/js/spec/video/iterator_spec.js rename to xmodule/static/js/spec/video/iterator_spec.js diff --git a/xmodule/js/spec/video/resizer_spec.js b/xmodule/static/js/spec/video/resizer_spec.js similarity index 100% rename from xmodule/js/spec/video/resizer_spec.js rename to xmodule/static/js/spec/video/resizer_spec.js diff --git a/xmodule/js/spec/video/sjson_spec.js b/xmodule/static/js/spec/video/sjson_spec.js similarity index 100% rename from xmodule/js/spec/video/sjson_spec.js rename to xmodule/static/js/spec/video/sjson_spec.js diff --git a/xmodule/js/spec/video/social_share_spec.js b/xmodule/static/js/spec/video/social_share_spec.js similarity index 100% rename from xmodule/js/spec/video/social_share_spec.js rename to xmodule/static/js/spec/video/social_share_spec.js diff --git a/xmodule/js/spec/video/video_autoadvance_spec.js b/xmodule/static/js/spec/video/video_autoadvance_spec.js similarity index 100% rename from xmodule/js/spec/video/video_autoadvance_spec.js rename to xmodule/static/js/spec/video/video_autoadvance_spec.js diff --git a/xmodule/js/spec/video/video_bumper_spec.js b/xmodule/static/js/spec/video/video_bumper_spec.js similarity index 100% rename from xmodule/js/spec/video/video_bumper_spec.js rename to xmodule/static/js/spec/video/video_bumper_spec.js diff --git a/xmodule/js/spec/video/video_caption_spec.js b/xmodule/static/js/spec/video/video_caption_spec.js similarity index 100% rename from xmodule/js/spec/video/video_caption_spec.js rename to xmodule/static/js/spec/video/video_caption_spec.js diff --git a/xmodule/js/spec/video/video_context_menu_spec.js b/xmodule/static/js/spec/video/video_context_menu_spec.js similarity index 100% rename from xmodule/js/spec/video/video_context_menu_spec.js rename to xmodule/static/js/spec/video/video_context_menu_spec.js diff --git a/xmodule/js/spec/video/video_control_spec.js b/xmodule/static/js/spec/video/video_control_spec.js similarity index 100% rename from xmodule/js/spec/video/video_control_spec.js rename to xmodule/static/js/spec/video/video_control_spec.js diff --git a/xmodule/js/spec/video/video_events_bumper_plugin_spec.js b/xmodule/static/js/spec/video/video_events_bumper_plugin_spec.js similarity index 100% rename from xmodule/js/spec/video/video_events_bumper_plugin_spec.js rename to xmodule/static/js/spec/video/video_events_bumper_plugin_spec.js diff --git a/xmodule/js/spec/video/video_events_plugin_spec.js b/xmodule/static/js/spec/video/video_events_plugin_spec.js similarity index 100% rename from xmodule/js/spec/video/video_events_plugin_spec.js rename to xmodule/static/js/spec/video/video_events_plugin_spec.js diff --git a/xmodule/js/spec/video/video_focus_grabber_spec.js b/xmodule/static/js/spec/video/video_focus_grabber_spec.js similarity index 100% rename from xmodule/js/spec/video/video_focus_grabber_spec.js rename to xmodule/static/js/spec/video/video_focus_grabber_spec.js diff --git a/xmodule/js/spec/video/video_full_screen_spec.js b/xmodule/static/js/spec/video/video_full_screen_spec.js similarity index 100% rename from xmodule/js/spec/video/video_full_screen_spec.js rename to xmodule/static/js/spec/video/video_full_screen_spec.js diff --git a/xmodule/js/spec/video/video_play_pause_control_spec.js b/xmodule/static/js/spec/video/video_play_pause_control_spec.js similarity index 100% rename from xmodule/js/spec/video/video_play_pause_control_spec.js rename to xmodule/static/js/spec/video/video_play_pause_control_spec.js diff --git a/xmodule/js/spec/video/video_play_placeholder_spec.js b/xmodule/static/js/spec/video/video_play_placeholder_spec.js similarity index 100% rename from xmodule/js/spec/video/video_play_placeholder_spec.js rename to xmodule/static/js/spec/video/video_play_placeholder_spec.js diff --git a/xmodule/js/spec/video/video_play_skip_control_spec.js b/xmodule/static/js/spec/video/video_play_skip_control_spec.js similarity index 100% rename from xmodule/js/spec/video/video_play_skip_control_spec.js rename to xmodule/static/js/spec/video/video_play_skip_control_spec.js diff --git a/xmodule/js/spec/video/video_player_spec.js b/xmodule/static/js/spec/video/video_player_spec.js similarity index 100% rename from xmodule/js/spec/video/video_player_spec.js rename to xmodule/static/js/spec/video/video_player_spec.js diff --git a/xmodule/js/spec/video/video_poster_spec.js b/xmodule/static/js/spec/video/video_poster_spec.js similarity index 100% rename from xmodule/js/spec/video/video_poster_spec.js rename to xmodule/static/js/spec/video/video_poster_spec.js diff --git a/xmodule/js/spec/video/video_progress_slider_spec.js b/xmodule/static/js/spec/video/video_progress_slider_spec.js similarity index 100% rename from xmodule/js/spec/video/video_progress_slider_spec.js rename to xmodule/static/js/spec/video/video_progress_slider_spec.js diff --git a/xmodule/js/spec/video/video_quality_control_spec.js b/xmodule/static/js/spec/video/video_quality_control_spec.js similarity index 100% rename from xmodule/js/spec/video/video_quality_control_spec.js rename to xmodule/static/js/spec/video/video_quality_control_spec.js diff --git a/xmodule/js/spec/video/video_save_state_plugin_spec.js b/xmodule/static/js/spec/video/video_save_state_plugin_spec.js similarity index 100% rename from xmodule/js/spec/video/video_save_state_plugin_spec.js rename to xmodule/static/js/spec/video/video_save_state_plugin_spec.js diff --git a/xmodule/js/spec/video/video_skip_control_spec.js b/xmodule/static/js/spec/video/video_skip_control_spec.js similarity index 100% rename from xmodule/js/spec/video/video_skip_control_spec.js rename to xmodule/static/js/spec/video/video_skip_control_spec.js diff --git a/xmodule/js/spec/video/video_speed_control_spec.js b/xmodule/static/js/spec/video/video_speed_control_spec.js similarity index 100% rename from xmodule/js/spec/video/video_speed_control_spec.js rename to xmodule/static/js/spec/video/video_speed_control_spec.js diff --git a/xmodule/js/spec/video/video_storage_spec.js b/xmodule/static/js/spec/video/video_storage_spec.js similarity index 100% rename from xmodule/js/spec/video/video_storage_spec.js rename to xmodule/static/js/spec/video/video_storage_spec.js diff --git a/xmodule/js/spec/video/video_volume_control_spec.js b/xmodule/static/js/spec/video/video_volume_control_spec.js similarity index 100% rename from xmodule/js/spec/video/video_volume_control_spec.js rename to xmodule/static/js/spec/video/video_volume_control_spec.js diff --git a/xmodule/js/spec/video_helper.js b/xmodule/static/js/spec/video_helper.js similarity index 100% rename from xmodule/js/spec/video_helper.js rename to xmodule/static/js/spec/video_helper.js diff --git a/xmodule/js/spec/xmodule_spec.js b/xmodule/static/js/spec/xmodule_spec.js similarity index 100% rename from xmodule/js/spec/xmodule_spec.js rename to xmodule/static/js/spec/xmodule_spec.js diff --git a/xmodule/js/src/annotatable/display.js b/xmodule/static/js/src/annotatable/display.js similarity index 100% rename from xmodule/js/src/annotatable/display.js rename to xmodule/static/js/src/annotatable/display.js diff --git a/xmodule/js/src/capa/.gitignore b/xmodule/static/js/src/capa/.gitignore similarity index 100% rename from xmodule/js/src/capa/.gitignore rename to xmodule/static/js/src/capa/.gitignore diff --git a/xmodule/js/src/capa/display.js b/xmodule/static/js/src/capa/display.js similarity index 100% rename from xmodule/js/src/capa/display.js rename to xmodule/static/js/src/capa/display.js diff --git a/xmodule/js/src/capa/imageinput.js b/xmodule/static/js/src/capa/imageinput.js similarity index 100% rename from xmodule/js/src/capa/imageinput.js rename to xmodule/static/js/src/capa/imageinput.js diff --git a/xmodule/js/src/capa/schematic.js b/xmodule/static/js/src/capa/schematic.js similarity index 100% rename from xmodule/js/src/capa/schematic.js rename to xmodule/static/js/src/capa/schematic.js diff --git a/xmodule/js/src/collapsible.js b/xmodule/static/js/src/collapsible.js similarity index 100% rename from xmodule/js/src/collapsible.js rename to xmodule/static/js/src/collapsible.js diff --git a/xmodule/js/src/conditional/display.js b/xmodule/static/js/src/conditional/display.js similarity index 100% rename from xmodule/js/src/conditional/display.js rename to xmodule/static/js/src/conditional/display.js diff --git a/xmodule/js/src/discussion/display.js b/xmodule/static/js/src/discussion/display.js similarity index 100% rename from xmodule/js/src/discussion/display.js rename to xmodule/static/js/src/discussion/display.js diff --git a/xmodule/js/src/html/display.js b/xmodule/static/js/src/html/display.js similarity index 100% rename from xmodule/js/src/html/display.js rename to xmodule/static/js/src/html/display.js diff --git a/xmodule/js/src/html/edit.js b/xmodule/static/js/src/html/edit.js similarity index 100% rename from xmodule/js/src/html/edit.js rename to xmodule/static/js/src/html/edit.js diff --git a/xmodule/js/src/html/imageModal.js b/xmodule/static/js/src/html/imageModal.js similarity index 100% rename from xmodule/js/src/html/imageModal.js rename to xmodule/static/js/src/html/imageModal.js diff --git a/xmodule/js/src/javascript_loader.js b/xmodule/static/js/src/javascript_loader.js similarity index 100% rename from xmodule/js/src/javascript_loader.js rename to xmodule/static/js/src/javascript_loader.js diff --git a/xmodule/js/src/lti/lti.js b/xmodule/static/js/src/lti/lti.js similarity index 100% rename from xmodule/js/src/lti/lti.js rename to xmodule/static/js/src/lti/lti.js diff --git a/xmodule/js/src/poll/.gitignore b/xmodule/static/js/src/poll/.gitignore similarity index 100% rename from xmodule/js/src/poll/.gitignore rename to xmodule/static/js/src/poll/.gitignore diff --git a/xmodule/js/src/poll/poll.js b/xmodule/static/js/src/poll/poll.js similarity index 100% rename from xmodule/js/src/poll/poll.js rename to xmodule/static/js/src/poll/poll.js diff --git a/xmodule/js/src/poll/poll_main.js b/xmodule/static/js/src/poll/poll_main.js similarity index 100% rename from xmodule/js/src/poll/poll_main.js rename to xmodule/static/js/src/poll/poll_main.js diff --git a/xmodule/js/src/problem/.gitignore b/xmodule/static/js/src/problem/.gitignore similarity index 100% rename from xmodule/js/src/problem/.gitignore rename to xmodule/static/js/src/problem/.gitignore diff --git a/xmodule/js/src/problem/edit.js b/xmodule/static/js/src/problem/edit.js similarity index 100% rename from xmodule/js/src/problem/edit.js rename to xmodule/static/js/src/problem/edit.js diff --git a/xmodule/js/src/raw/edit/metadata-only.js b/xmodule/static/js/src/raw/edit/metadata-only.js similarity index 100% rename from xmodule/js/src/raw/edit/metadata-only.js rename to xmodule/static/js/src/raw/edit/metadata-only.js diff --git a/xmodule/js/src/raw/edit/xml.js b/xmodule/static/js/src/raw/edit/xml.js similarity index 100% rename from xmodule/js/src/raw/edit/xml.js rename to xmodule/static/js/src/raw/edit/xml.js diff --git a/xmodule/js/src/sequence/display.js b/xmodule/static/js/src/sequence/display.js similarity index 100% rename from xmodule/js/src/sequence/display.js rename to xmodule/static/js/src/sequence/display.js diff --git a/xmodule/js/src/sequence/edit.js b/xmodule/static/js/src/sequence/edit.js similarity index 100% rename from xmodule/js/src/sequence/edit.js rename to xmodule/static/js/src/sequence/edit.js diff --git a/xmodule/js/src/tabs/tabs-aggregator.js b/xmodule/static/js/src/tabs/tabs-aggregator.js similarity index 100% rename from xmodule/js/src/tabs/tabs-aggregator.js rename to xmodule/static/js/src/tabs/tabs-aggregator.js diff --git a/xmodule/js/src/time.js b/xmodule/static/js/src/time.js similarity index 100% rename from xmodule/js/src/time.js rename to xmodule/static/js/src/time.js diff --git a/xmodule/js/src/vertical/edit.js b/xmodule/static/js/src/vertical/edit.js similarity index 100% rename from xmodule/js/src/vertical/edit.js rename to xmodule/static/js/src/vertical/edit.js diff --git a/xmodule/js/src/video/00_async_process.js b/xmodule/static/js/src/video/00_async_process.js similarity index 100% rename from xmodule/js/src/video/00_async_process.js rename to xmodule/static/js/src/video/00_async_process.js diff --git a/xmodule/js/src/video/00_component.js b/xmodule/static/js/src/video/00_component.js similarity index 100% rename from xmodule/js/src/video/00_component.js rename to xmodule/static/js/src/video/00_component.js diff --git a/xmodule/js/src/video/00_i18n.js b/xmodule/static/js/src/video/00_i18n.js similarity index 100% rename from xmodule/js/src/video/00_i18n.js rename to xmodule/static/js/src/video/00_i18n.js diff --git a/xmodule/js/src/video/00_iterator.js b/xmodule/static/js/src/video/00_iterator.js similarity index 100% rename from xmodule/js/src/video/00_iterator.js rename to xmodule/static/js/src/video/00_iterator.js diff --git a/xmodule/js/src/video/00_resizer.js b/xmodule/static/js/src/video/00_resizer.js similarity index 100% rename from xmodule/js/src/video/00_resizer.js rename to xmodule/static/js/src/video/00_resizer.js diff --git a/xmodule/js/src/video/00_sjson.js b/xmodule/static/js/src/video/00_sjson.js similarity index 100% rename from xmodule/js/src/video/00_sjson.js rename to xmodule/static/js/src/video/00_sjson.js diff --git a/xmodule/js/src/video/00_video_storage.js b/xmodule/static/js/src/video/00_video_storage.js similarity index 100% rename from xmodule/js/src/video/00_video_storage.js rename to xmodule/static/js/src/video/00_video_storage.js diff --git a/xmodule/js/src/video/01_initialize.js b/xmodule/static/js/src/video/01_initialize.js similarity index 100% rename from xmodule/js/src/video/01_initialize.js rename to xmodule/static/js/src/video/01_initialize.js diff --git a/xmodule/js/src/video/025_focus_grabber.js b/xmodule/static/js/src/video/025_focus_grabber.js similarity index 100% rename from xmodule/js/src/video/025_focus_grabber.js rename to xmodule/static/js/src/video/025_focus_grabber.js diff --git a/xmodule/js/src/video/02_html5_hls_video.js b/xmodule/static/js/src/video/02_html5_hls_video.js similarity index 100% rename from xmodule/js/src/video/02_html5_hls_video.js rename to xmodule/static/js/src/video/02_html5_hls_video.js diff --git a/xmodule/js/src/video/02_html5_video.js b/xmodule/static/js/src/video/02_html5_video.js similarity index 100% rename from xmodule/js/src/video/02_html5_video.js rename to xmodule/static/js/src/video/02_html5_video.js diff --git a/xmodule/js/src/video/035_video_accessible_menu.js b/xmodule/static/js/src/video/035_video_accessible_menu.js similarity index 100% rename from xmodule/js/src/video/035_video_accessible_menu.js rename to xmodule/static/js/src/video/035_video_accessible_menu.js diff --git a/xmodule/js/src/video/036_video_social_sharing.js b/xmodule/static/js/src/video/036_video_social_sharing.js similarity index 100% rename from xmodule/js/src/video/036_video_social_sharing.js rename to xmodule/static/js/src/video/036_video_social_sharing.js diff --git a/xmodule/js/src/video/03_video_player.js b/xmodule/static/js/src/video/03_video_player.js similarity index 100% rename from xmodule/js/src/video/03_video_player.js rename to xmodule/static/js/src/video/03_video_player.js diff --git a/xmodule/js/src/video/04_video_control.js b/xmodule/static/js/src/video/04_video_control.js similarity index 100% rename from xmodule/js/src/video/04_video_control.js rename to xmodule/static/js/src/video/04_video_control.js diff --git a/xmodule/js/src/video/04_video_full_screen.js b/xmodule/static/js/src/video/04_video_full_screen.js similarity index 100% rename from xmodule/js/src/video/04_video_full_screen.js rename to xmodule/static/js/src/video/04_video_full_screen.js diff --git a/xmodule/js/src/video/05_video_quality_control.js b/xmodule/static/js/src/video/05_video_quality_control.js similarity index 100% rename from xmodule/js/src/video/05_video_quality_control.js rename to xmodule/static/js/src/video/05_video_quality_control.js diff --git a/xmodule/js/src/video/06_video_progress_slider.js b/xmodule/static/js/src/video/06_video_progress_slider.js similarity index 100% rename from xmodule/js/src/video/06_video_progress_slider.js rename to xmodule/static/js/src/video/06_video_progress_slider.js diff --git a/xmodule/js/src/video/07_video_volume_control.js b/xmodule/static/js/src/video/07_video_volume_control.js similarity index 100% rename from xmodule/js/src/video/07_video_volume_control.js rename to xmodule/static/js/src/video/07_video_volume_control.js diff --git a/xmodule/js/src/video/08_video_auto_advance_control.js b/xmodule/static/js/src/video/08_video_auto_advance_control.js similarity index 100% rename from xmodule/js/src/video/08_video_auto_advance_control.js rename to xmodule/static/js/src/video/08_video_auto_advance_control.js diff --git a/xmodule/js/src/video/08_video_speed_control.js b/xmodule/static/js/src/video/08_video_speed_control.js similarity index 100% rename from xmodule/js/src/video/08_video_speed_control.js rename to xmodule/static/js/src/video/08_video_speed_control.js diff --git a/xmodule/js/src/video/095_video_context_menu.js b/xmodule/static/js/src/video/095_video_context_menu.js similarity index 100% rename from xmodule/js/src/video/095_video_context_menu.js rename to xmodule/static/js/src/video/095_video_context_menu.js diff --git a/xmodule/js/src/video/09_bumper.js b/xmodule/static/js/src/video/09_bumper.js similarity index 100% rename from xmodule/js/src/video/09_bumper.js rename to xmodule/static/js/src/video/09_bumper.js diff --git a/xmodule/js/src/video/09_completion.js b/xmodule/static/js/src/video/09_completion.js similarity index 100% rename from xmodule/js/src/video/09_completion.js rename to xmodule/static/js/src/video/09_completion.js diff --git a/xmodule/js/src/video/09_events_bumper_plugin.js b/xmodule/static/js/src/video/09_events_bumper_plugin.js similarity index 100% rename from xmodule/js/src/video/09_events_bumper_plugin.js rename to xmodule/static/js/src/video/09_events_bumper_plugin.js diff --git a/xmodule/js/src/video/09_events_plugin.js b/xmodule/static/js/src/video/09_events_plugin.js similarity index 100% rename from xmodule/js/src/video/09_events_plugin.js rename to xmodule/static/js/src/video/09_events_plugin.js diff --git a/xmodule/js/src/video/09_play_pause_control.js b/xmodule/static/js/src/video/09_play_pause_control.js similarity index 100% rename from xmodule/js/src/video/09_play_pause_control.js rename to xmodule/static/js/src/video/09_play_pause_control.js diff --git a/xmodule/js/src/video/09_play_placeholder.js b/xmodule/static/js/src/video/09_play_placeholder.js similarity index 100% rename from xmodule/js/src/video/09_play_placeholder.js rename to xmodule/static/js/src/video/09_play_placeholder.js diff --git a/xmodule/js/src/video/09_play_skip_control.js b/xmodule/static/js/src/video/09_play_skip_control.js similarity index 100% rename from xmodule/js/src/video/09_play_skip_control.js rename to xmodule/static/js/src/video/09_play_skip_control.js diff --git a/xmodule/js/src/video/09_poster.js b/xmodule/static/js/src/video/09_poster.js similarity index 100% rename from xmodule/js/src/video/09_poster.js rename to xmodule/static/js/src/video/09_poster.js diff --git a/xmodule/js/src/video/09_save_state_plugin.js b/xmodule/static/js/src/video/09_save_state_plugin.js similarity index 100% rename from xmodule/js/src/video/09_save_state_plugin.js rename to xmodule/static/js/src/video/09_save_state_plugin.js diff --git a/xmodule/js/src/video/09_skip_control.js b/xmodule/static/js/src/video/09_skip_control.js similarity index 100% rename from xmodule/js/src/video/09_skip_control.js rename to xmodule/static/js/src/video/09_skip_control.js diff --git a/xmodule/js/src/video/09_video_caption.js b/xmodule/static/js/src/video/09_video_caption.js similarity index 100% rename from xmodule/js/src/video/09_video_caption.js rename to xmodule/static/js/src/video/09_video_caption.js diff --git a/xmodule/js/src/video/10_commands.js b/xmodule/static/js/src/video/10_commands.js similarity index 100% rename from xmodule/js/src/video/10_commands.js rename to xmodule/static/js/src/video/10_commands.js diff --git a/xmodule/js/src/video/10_main.js b/xmodule/static/js/src/video/10_main.js similarity index 100% rename from xmodule/js/src/video/10_main.js rename to xmodule/static/js/src/video/10_main.js diff --git a/xmodule/js/src/xmodule.js b/xmodule/static/js/src/xmodule.js similarity index 100% rename from xmodule/js/src/xmodule.js rename to xmodule/static/js/src/xmodule.js diff --git a/xmodule/static/webpack.xmodule.config.js b/xmodule/static/webpack.xmodule.config.js index f7887620c7a..b01d81562f6 100644 --- a/xmodule/static/webpack.xmodule.config.js +++ b/xmodule/static/webpack.xmodule.config.js @@ -1,136 +1,136 @@ module.exports = { "entry": { "AboutBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/display.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/collapsible.js", - "xmodule/js/src/html/imageModal.js", - "xmodule/js/common_static/js/vendor/draggabilly.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/display.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/collapsible.js", + "xmodule/static/js/src/html/imageModal.js", + "xmodule/static/js/common_static/js/vendor/draggabilly.js" ], "AboutBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/edit.js" ], "AnnotatableBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/display.js", - "xmodule/js/src/annotatable/display.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/collapsible.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/display.js", + "xmodule/static/js/src/annotatable/display.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/collapsible.js" ], "AnnotatableBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/raw/edit/xml.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/raw/edit/xml.js" ], "ConditionalBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/conditional/display.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/collapsible.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/conditional/display.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/collapsible.js" ], "ConditionalBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/sequence/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/sequence/edit.js" ], "CourseInfoBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/display.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/collapsible.js", - "xmodule/js/src/html/imageModal.js", - "xmodule/js/common_static/js/vendor/draggabilly.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/display.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/collapsible.js", + "xmodule/static/js/src/html/imageModal.js", + "xmodule/static/js/common_static/js/vendor/draggabilly.js" ], "CourseInfoBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/edit.js" ], - "CustomTagBlockPreview": "xmodule/js/src/xmodule.js", + "CustomTagBlockPreview": "xmodule/static/js/src/xmodule.js", "CustomTagBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/raw/edit/xml.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/raw/edit/xml.js" ], "HtmlBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/display.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/collapsible.js", - "xmodule/js/src/html/imageModal.js", - "xmodule/js/common_static/js/vendor/draggabilly.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/display.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/collapsible.js", + "xmodule/static/js/src/html/imageModal.js", + "xmodule/static/js/common_static/js/vendor/draggabilly.js" ], "HtmlBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/edit.js" ], "LTIBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/lti/lti.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/lti/lti.js" ], "LTIBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/raw/edit/metadata-only.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/raw/edit/metadata-only.js" ], - "LibraryContentBlockPreview": "xmodule/js/src/xmodule.js", + "LibraryContentBlockPreview": "xmodule/static/js/src/xmodule.js", "LibraryContentBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/vertical/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/vertical/edit.js" ], "PollBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/poll/poll.js", - "xmodule/js/src/poll/poll_main.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/poll/poll.js", + "xmodule/static/js/src/poll/poll_main.js" ], - "PollBlockStudio": "xmodule/js/src/xmodule.js", + "PollBlockStudio": "xmodule/static/js/src/xmodule.js", "ProblemBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/capa/display.js", - "xmodule/js/src/collapsible.js", - "xmodule/js/src/capa/imageinput.js", - "xmodule/js/src/capa/schematic.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/capa/display.js", + "xmodule/static/js/src/collapsible.js", + "xmodule/static/js/src/capa/imageinput.js", + "xmodule/static/js/src/capa/schematic.js" ], "ProblemBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/problem/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/problem/edit.js" ], "SequenceBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/sequence/display.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/sequence/display.js" ], - "SequenceBlockStudio": "xmodule/js/src/xmodule.js", - "SplitTestBlockPreview": "xmodule/js/src/xmodule.js", + "SequenceBlockStudio": "xmodule/static/js/src/xmodule.js", + "SplitTestBlockPreview": "xmodule/static/js/src/xmodule.js", "SplitTestBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/sequence/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/sequence/edit.js" ], "StaticTabBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/display.js", - "xmodule/js/src/javascript_loader.js", - "xmodule/js/src/collapsible.js", - "xmodule/js/src/html/imageModal.js", - "xmodule/js/common_static/js/vendor/draggabilly.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/display.js", + "xmodule/static/js/src/javascript_loader.js", + "xmodule/static/js/src/collapsible.js", + "xmodule/static/js/src/html/imageModal.js", + "xmodule/static/js/common_static/js/vendor/draggabilly.js" ], "StaticTabBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/html/edit.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/html/edit.js" ], "VideoBlockPreview": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/video/10_main.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/video/10_main.js" ], "VideoBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/tabs/tabs-aggregator.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/tabs/tabs-aggregator.js" ], "WordCloudBlockPreview": [ - "xmodule/js/src/xmodule.js", + "xmodule/static/js/src/xmodule.js", "xmodule/assets/word_cloud/src/js/word_cloud.js" ], "WordCloudBlockStudio": [ - "xmodule/js/src/xmodule.js", - "xmodule/js/src/raw/edit/metadata-only.js" + "xmodule/static/js/src/xmodule.js", + "xmodule/static/js/src/raw/edit/metadata-only.js" ] } };