refactor: Extract upload mechanics to new JS module.

Tweaked by tabbott to move changes from the next commit that are
required for this to pass tests into this commit.

Note that this exports a few items that were not previously exported.
This commit is contained in:
Tommy Ip
2017-11-23 14:00:05 +00:00
committed by Tim Abbott
parent 0445322625
commit ddaff4cd2a
6 changed files with 147 additions and 130 deletions

View File

@@ -236,7 +236,7 @@ def build_custom_checkers(by_lang):
'frontend_tests/node_tests/compose.js',
'frontend_tests/node_tests/copy_and_paste.js',
'frontend_tests/node_tests/templates.js',
'static/js/compose.js',
'static/js/upload.js',
'static/js/dynamic_text.js',
'static/js/stream_color.js',
]),