{"size": 558, "ext": "js", "max_stars_repo_path": "js/views/SignedOnUserView.js", "max_stars_repo_name": "ultianalytics/UltiAdmin", "max_stars_repo_stars_event_min_datetime": "2019-10-14T05:08:59.000Z", "max_stars_repo_stars_event_max_datetime": "2019-10-14T05:08:59.000Z", "max_issues_repo_path": "js/views/SignedOnUserView.js", "max_issues_repo_name": "ultianalytics/UltiAdmin", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/views/SignedOnUserView.js", "max_forks_repo_name": "ultianalytics/UltiAdmin", "max_forks_repo_forks_event_min_datetime": "2019-10-29T20:32:10.000Z", "max_forks_repo_forks_event_max_datetime": "2019-10-29T20:32:10.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 31.0, "max_line_length": 76, "alphanum_fraction": 0.5035842294}
define(['jquery', 'underscore', 'backbone', 'appContext'],
    function($, _, Backbone, appContext) {

        var SignedOnUserView = Backbone.View.extend({
            el: '[ulti-user]',
            initialize: function() {
                appContext.on("change:currentUser", this.userChanged, this);
            },
            userChanged: function() {
                this.render();
            },
            render: function() {
                this.$el.html(appContext.currentUserEmail())
            }
        });
        return SignedOnUserView;

});