BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2dc11116
Commit
2dc11116
authored
May 08, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove bind polyfill from gl_dropdown.js
parent
306be281
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
gl_dropdown.js
app/assets/javascripts/gl_dropdown.js
+4
-5
No files found.
app/assets/javascripts/gl_dropdown.js
View file @
2dc11116
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
/* global fuzzaldrinPlus */
/* global fuzzaldrinPlus */
var
GitLabDropdown
,
GitLabDropdownFilter
,
GitLabDropdownRemote
,
var
GitLabDropdown
,
GitLabDropdownFilter
,
GitLabDropdownRemote
,
bind
=
function
(
fn
,
me
)
{
return
function
()
{
return
fn
.
apply
(
me
,
arguments
);
};
},
indexOf
=
[].
indexOf
||
function
(
item
)
{
for
(
var
i
=
0
,
l
=
this
.
length
;
i
<
l
;
i
+=
1
)
{
if
(
i
in
this
&&
this
[
i
]
===
item
)
return
i
;
}
return
-
1
;
};
indexOf
=
[].
indexOf
||
function
(
item
)
{
for
(
var
i
=
0
,
l
=
this
.
length
;
i
<
l
;
i
+=
1
)
{
if
(
i
in
this
&&
this
[
i
]
===
item
)
return
i
;
}
return
-
1
;
};
GitLabDropdownFilter
=
(
function
()
{
GitLabDropdownFilter
=
(
function
()
{
...
@@ -213,10 +212,10 @@ GitLabDropdown = (function() {
...
@@ -213,10 +212,10 @@ GitLabDropdown = (function() {
var
searchFields
,
selector
,
self
;
var
searchFields
,
selector
,
self
;
this
.
el
=
el1
;
this
.
el
=
el1
;
this
.
options
=
options
;
this
.
options
=
options
;
this
.
updateLabel
=
bind
(
this
.
updateLabel
,
this
);
this
.
updateLabel
=
this
.
updateLabel
.
bind
(
this
);
this
.
hidden
=
bind
(
this
.
hidden
,
this
);
this
.
hidden
=
this
.
hidden
.
bind
(
this
);
this
.
opened
=
bind
(
this
.
opened
,
this
);
this
.
opened
=
this
.
opened
.
bind
(
this
);
this
.
shouldPropagate
=
bind
(
this
.
shouldPropagate
,
this
);
this
.
shouldPropagate
=
this
.
shouldPropagate
.
bind
(
this
);
self
=
this
;
self
=
this
;
selector
=
$
(
this
.
el
).
data
(
"target"
);
selector
=
$
(
this
.
el
).
data
(
"target"
);
this
.
dropdown
=
selector
!=
null
?
$
(
selector
)
:
$
(
this
.
el
).
parent
();
this
.
dropdown
=
selector
!=
null
?
$
(
selector
)
:
$
(
this
.
el
).
parent
();
...
...
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