This file is indexed.

/usr/share/hotot/js/ui.retweetview.js is in hotot-common 1:0.9.8.14-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
if (typeof ui == 'undefined') var ui = {};
ui.RetweetView = {

current: null,

init:
function init() {
    var btns = new widget.RadioGroup('#retweets_radio_group');
    btns.on_clicked = function (btn, event) {
        // activate another sub page.
        ui.RetweetView.current = $(btn).attr('href');
        var pagename = ui.RetweetView.current + '_sub_block';
        $('#retweets_tweet_block .tweet_sub_block').not(pagename).hide();
        $(pagename).show();
        toast.set("Loading Tweets...").show(-1);
        daemon.update_retweets();
    };
    btns.create();
    ui.RetweetView.current = '#retweeted_to_me';
    $(ui.RetweetView.current + '_sub_block').show();
},

init_view:
function init_view(view) {
    var toggle = view._header.find('.retweets_view_toggle');
    var sub_view_btns = toggle.find('.radio_group_btn');
    sub_view_btns.click(function (event) {
        var pagename = $(this).attr('href').substring(1);
        sub_view_btns.removeClass('selected');
        $(this).addClass('selected');
        ui.RetweetView.switch_sub_view(view, pagename);
    });
},
 
destroy_view:
function destroy_view(view) {
    // unbind
    view._header.find('.radio_group_btn').unbind();
    // remove slide, view and DOM
    ui.Slider.remove(view.name);
},

switch_sub_view:
function switch_sub_view(view, name) {
    switch (name) {
    case 'retweeted_to_me':
        view.former = ui.Template.form_tweet;
        view._load = ui.RetweetView.load_retweeted_to_me;
        view._loadmore = ui.RetweetView.loadmore_retweeted_to_me;
    break;
    case 'retweeted_by_me':
        view.former = ui.Template.form_tweet;
        view._load = ui.RetweetView.load_retweeted_by_me;
        view._loadmore = ui.RetweetView.loadmore_retweeted_bt_me;
    break;
    case 'retweets_of_me':
        view.former = ui.Template.form_retweeted_by;
        view._load = ui.RetweetView.load_retweets_of_me;
        view._loadmore = ui.RetweetView.loadmore_retweets_of_me;
    break;
    default: break;
    }
    view.since_id = null;
    view.max_id = null;
    view.clear();
    view.load();
},


load_retweeted_to_me:
function load_retweeted_to_me(view, success, fail) {
    globals.twitterClient.get_retweeted_to_me(
        view.since_id , null, conf.vars.items_per_request, success);
},

loadmore_retweeted_to_me:
function loadmore_retweeted_to_me(view, success, fail) {
    globals.twitterClient.get_retweeted_to_me(
        null , view.max_id, conf.vars.items_per_request, success);
},

load_retweeted_by_me:
function load_retweeted_by_me(view, success, fail) {
    globals.twitterClient.get_retweeted_by_me(
        view.since_id , null, conf.vars.items_per_request, success);
},

loadmore_retweeted_by_me:
function loadmore_retweeted_by_me(view, success, fail) {
    globals.twitterClient.get_retweeted_by_me(
        null , view.max_id, conf.vars.items_per_request, success);
},

load_retweets_of_me:
function load_retweets_of_me(view, success, fail) {
    globals.twitterClient.get_retweets_of_me(
        view.since_id , null, conf.vars.items_per_request, success);
},

loadmore_retweets_of_me:
function load(view, success, fail) {
    globals.twitterClient.get_retweets_of_me(
        null , view.max_id, conf.vars.items_per_request, success);
}

};