Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
06014bfa
Commit
06014bfa
authored
Sep 01, 2015
by
Peter Fogg
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9559 from edx/peter-fogg/remove-bind-all
Remove unnecessary bindAll calls.
parents
804e1102
67a6dd08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
4 deletions
+0
-4
lms/djangoapps/teams/static/teams/js/views/edit_team.js
+0
-2
lms/djangoapps/teams/static/teams/js/views/team_profile_header_actions.js
+0
-1
lms/djangoapps/teams/static/teams/js/views/topic_teams.js
+0
-1
No files found.
lms/djangoapps/teams/static/teams/js/views/edit_team.js
View file @
06014bfa
...
...
@@ -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
;
...
...
lms/djangoapps/teams/static/teams/js/views/team_profile_header_actions.js
View file @
06014bfa
...
...
@@ -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
);
},
...
...
lms/djangoapps/teams/static/teams/js/views/topic_teams.js
View file @
06014bfa
...
...
@@ -16,7 +16,6 @@
initialize
:
function
(
options
)
{
TeamsView
.
prototype
.
initialize
.
call
(
this
,
options
);
_
.
bindAll
(
this
,
'browseTeams'
,
'searchTeams'
,
'showCreateTeamForm'
);
},
render
:
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment