<commit_before>chorus.views.WorkspaceShowSidebar = chorus.views.Sidebar.extend({
    constructorName: "WorkspaceShowSidebarView",
    className:"workspace_show_sidebar",

    subviews: {
        ".workspace_member_list": "workspaceMemberList"
    },

    setup:function () {
        this.bindings.add(this.model, "image:change", this.render);
        this.model.members().fetch();
        this.bindings.add(this.model.members(), "reset", this.render);
        this.workspaceMemberList = new chorus.views.WorkspaceMemberList();
        this.workspaceMemberList.setWorkspace(this.model);
    },

    additionalContext:function () {
        return {
            workspaceAdmin:this.model.workspaceAdmin(),
            imageUrl:this.model.imageUrl() + "&buster=" + chorus.cachebuster,
            hasImage:this.model.hasImage(),
            hasSandbox:!!this.model.sandbox(),
            currentUserIsMember: this.model.currentUserIsMember()
        };
    },

    postRender:function () {
        var self = this;
        this.$(".workspace_image").load(function () {
            self.$(".after_image").removeClass("hidden");
        });
        this.$('.workspace_image').load(_.bind(this.recalculateScrolling, this));
        this._super('postRender');
    }
});<commit_msg>Fix error in cachebuster for workspace show sidebar<commit_after>chorus.views.WorkspaceShowSidebar = chorus.views.Sidebar.extend({
    constructorName: "WorkspaceShowSidebarView",
    className:"workspace_show_sidebar",

    subviews: {
        ".workspace_member_list": "workspaceMemberList"
    },

    setup:function () {
        this.bindings.add(this.model, "image:change", this.render);
        this.model.members().fetch();
        this.bindings.add(this.model.members(), "reset", this.render);
        this.workspaceMemberList = new chorus.views.WorkspaceMemberList();
        this.workspaceMemberList.setWorkspace(this.model);
    },

    additionalContext:function () {
        return {
            workspaceAdmin:this.model.workspaceAdmin(),
            imageUrl:this.model.imageUrl() + "&buster=" + chorus.cachebuster(),
            hasImage:this.model.hasImage(),
            hasSandbox:!!this.model.sandbox(),
            currentUserIsMember: this.model.currentUserIsMember()
        };
    },

    postRender:function () {
        var self = this;
        this.$(".workspace_image").load(function () {
            self.$(".after_image").removeClass("hidden");
        });
        this.$('.workspace_image').load(_.bind(this.recalculateScrolling, this));
        this._super('postRender');
    }
});
{'fraction_non_alphanumeric': 0.14694508894044858, 'fraction_numerical': 0.0, 'mean_word_length': 2.90785498489426, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1883893', 'n_tokens_mistral': 741, 'n_tokens_neox': 733, 'n_words': 85}