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
2d018776
Unverified
Commit
2d018776
authored
Feb 20, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate omniauth_callbacks:* to static bundle
parent
3b359ffe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-5
index.js
app/assets/javascripts/pages/omniauth_callbacks/index.js
+1
-3
No files found.
app/assets/javascripts/dispatcher.js
View file @
2d018776
...
...
@@ -277,11 +277,6 @@ var Dispatcher;
break
;
}
switch
(
path
[
0
])
{
case
'omniauth_callbacks'
:
import
(
'./pages/omniauth_callbacks'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'admin'
:
import
(
'./pages/admin'
)
.
then
(
callDefault
)
...
...
app/assets/javascripts/pages/omniauth_callbacks/index.js
View file @
2d018776
import
initU2F
from
'../../shared/sessions/u2f'
;
export
default
()
=>
{
initU2F
();
};
document
.
addEventListener
(
'DOMContentLoaded'
,
initU2F
);
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