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
45e8503f
Commit
45e8503f
authored
May 08, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove bind polyfill from u2f/authenticate.js
parent
e4e95adf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
authenticate.js
app/assets/javascripts/u2f/authenticate.js
+7
-9
No files found.
app/assets/javascripts/u2f/authenticate.js
View file @
45e8503f
...
@@ -10,18 +10,16 @@
...
@@ -10,18 +10,16 @@
(
function
()
{
(
function
()
{
const
global
=
window
.
gl
||
(
window
.
gl
=
{});
const
global
=
window
.
gl
||
(
window
.
gl
=
{});
var
bind
=
function
(
fn
,
me
)
{
return
function
()
{
return
fn
.
apply
(
me
,
arguments
);
};
};
global
.
U2FAuthenticate
=
(
function
()
{
global
.
U2FAuthenticate
=
(
function
()
{
function
U2FAuthenticate
(
container
,
form
,
u2fParams
,
fallbackButton
,
fallbackUI
)
{
function
U2FAuthenticate
(
container
,
form
,
u2fParams
,
fallbackButton
,
fallbackUI
)
{
this
.
container
=
container
;
this
.
container
=
container
;
this
.
renderNotSupported
=
bind
(
this
.
renderNotSupported
,
this
);
this
.
renderNotSupported
=
this
.
renderNotSupported
.
bind
(
this
);
this
.
renderAuthenticated
=
bind
(
this
.
renderAuthenticated
,
this
);
this
.
renderAuthenticated
=
this
.
renderAuthenticated
.
bind
(
this
);
this
.
renderError
=
bind
(
this
.
renderError
,
this
);
this
.
renderError
=
this
.
renderError
.
bind
(
this
);
this
.
renderInProgress
=
bind
(
this
.
renderInProgress
,
this
);
this
.
renderInProgress
=
this
.
renderInProgress
.
bind
(
this
);
this
.
renderTemplate
=
bind
(
this
.
renderTemplate
,
this
);
this
.
renderTemplate
=
this
.
renderTemplate
.
bind
(
this
);
this
.
authenticate
=
bind
(
this
.
authenticate
,
this
);
this
.
authenticate
=
this
.
authenticate
.
bind
(
this
);
this
.
start
=
bind
(
this
.
start
,
this
);
this
.
start
=
this
.
start
.
bind
(
this
);
this
.
appId
=
u2fParams
.
app_id
;
this
.
appId
=
u2fParams
.
app_id
;
this
.
challenge
=
u2fParams
.
challenge
;
this
.
challenge
=
u2fParams
.
challenge
;
this
.
form
=
form
;
this
.
form
=
form
;
...
...
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