Extract top_left_corner.js.

Here are the functions in top_left_corner:

    get_global_filter_li: pure code move
    update_count_in_dom: simplifed copy of similar function in stream_list.js
    update_dom_with_unread_counts: pure code move, split out from function
       of same name in stream_list.js
    delselect_top_left_corner_items: pure code move
    handle_narrow_activated: pure code move + rename
    handle_narrow_deactivated: pure code move, split out from from function
       of smae name in stream_list.js
This commit is contained in:
Steve Howell
2017-08-12 11:26:12 -04:00
committed by Tim Abbott
parent 0f3b565d40
commit 57f17ae543
8 changed files with 178 additions and 123 deletions

View File

@@ -857,6 +857,7 @@ JS_SPECS = {
'js/recent_senders.js',
'js/stream_sort.js',
'js/topic_generator.js',
'js/top_left_corner.js',
'js/stream_list.js',
'js/filter.js',
'js/message_list_view.js',