Merge pull request #9559 from edx/peter-fogg/remove-bind-all

Remove unnecessary bindAll calls.
This commit is contained in:
Peter Fogg
2015-09-01 17:36:14 -04:00
3 changed files with 0 additions and 4 deletions

View File

@@ -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;

View File

@@ -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);
},

View File

@@ -16,7 +16,6 @@
initialize: function(options) {
TeamsView.prototype.initialize.call(this, options);
_.bindAll(this, 'browseTeams', 'searchTeams', 'showCreateTeamForm');
},
render: function() {