This file is indexed.

/usr/lib/python2.7/dist-packages/notebook/static/edit/js/notificationarea.js is in python-notebook 5.2.2-1.

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
define([
    'base/js/notificationarea'
], function(notificationarea) {
    "use strict";
    var NotificationArea = notificationarea.NotificationArea;
    
    var EditorNotificationArea = function(selector, options) {
        NotificationArea.apply(this, [selector, options]);
    }
    
    EditorNotificationArea.prototype = Object.create(NotificationArea.prototype);
    
    /**
     * Initialize the default set of notification widgets.
     *
     * @method init_notification_widgets
     */
    EditorNotificationArea.prototype.init_notification_widgets = function () {
        var that = this;
        var savew = this.new_notification_widget('save');
        
        this.events.on("file_saved.Editor", function() {
            savew.set_message("File saved", 2000);
        });
    };
    

    return {EditorNotificationArea: EditorNotificationArea};
});