Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
98b5dd9d
Commit
98b5dd9d
authored
May 08, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove bind polyfill from labels.js
parent
417c7e09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app/assets/javascripts/labels.js
app/assets/javascripts/labels.js
+2
-4
No files found.
app/assets/javascripts/labels.js
View file @
98b5dd9d
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, vars-on-top, no-unused-vars, max-len */
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, wrap-iife, vars-on-top, no-unused-vars, max-len */
(
function
()
{
(
function
()
{
var
bind
=
function
(
fn
,
me
)
{
return
function
()
{
return
fn
.
apply
(
me
,
arguments
);
};
};
this
.
Labels
=
(
function
()
{
this
.
Labels
=
(
function
()
{
function
Labels
()
{
function
Labels
()
{
this
.
setSuggestedColor
=
bind
(
this
.
setSuggestedColor
,
this
);
this
.
setSuggestedColor
=
this
.
setSuggestedColor
.
bind
(
this
);
this
.
updateColorPreview
=
bind
(
this
.
updateColorPreview
,
this
);
this
.
updateColorPreview
=
this
.
updateColorPreview
.
bind
(
this
);
var
form
;
var
form
;
form
=
$
(
'
.label-form
'
);
form
=
$
(
'
.label-form
'
);
this
.
cleanBinding
();
this
.
cleanBinding
();
...
...
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