Commit 67a6dd08 by Peter Fogg

Remove unnecessary bindAll calls.

parent e807cbd5
......@@ -30,8 +30,6 @@
this.teamsDetailUrl = options.teamParams.teamsDetailUrl;
this.action = options.action;
_.bindAll(this, 'cancelAndGoBack', 'createOrUpdateTeam');
if (this.action === 'create') {
this.teamModel = new TeamModel({});
this.teamModel.url = this.teamsUrl;
......
......@@ -27,7 +27,6 @@
this.teamMembershipsUrl = options.teamMembershipsUrl;
this.showEditButton = options.showEditButton;
this.topicID = options.topicID;
_.bindAll(this, 'render', 'joinTeam','editTeam', 'getUserTeamInfo');
this.listenTo(this.model, "change", this.render);
},
......
......@@ -16,7 +16,6 @@
initialize: function(options) {
TeamsView.prototype.initialize.call(this, options);
_.bindAll(this, 'browseTeams', 'searchTeams', 'showCreateTeamForm');
},
render: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment