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
Boxiang Sun
gitlab-ce
Commits
64f3f5e4
Commit
64f3f5e4
authored
Feb 01, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate sessions:new to static bundle
parent
8ebe2f7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-5
app/assets/javascripts/pages/sessions/new/index.js
app/assets/javascripts/pages/sessions/new/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
64f3f5e4
...
...
@@ -49,11 +49,6 @@ import SearchAutocomplete from './search_autocomplete';
});
switch
(
page
)
{
case
'
sessions:new
'
:
import
(
'
./pages/sessions/new
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:boards:show
'
:
case
'
projects:boards:index
'
:
import
(
'
./pages/projects/boards
'
)
...
...
app/assets/javascripts/pages/sessions/new/index.js
View file @
64f3f5e4
...
...
@@ -2,10 +2,10 @@ import UsernameValidator from './username_validator';
import
SigninTabsMemoizer
from
'
./signin_tabs_memoizer
'
;
import
OAuthRememberMe
from
'
./oauth_remember_me
'
;
export
default
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
UsernameValidator
();
// eslint-disable-line no-new
new
SigninTabsMemoizer
();
// eslint-disable-line no-new
new
OAuthRememberMe
({
// eslint-disable-line no-new
container
:
$
(
'
.omniauth-container
'
),
}).
bindEvents
();
};
}
)
;
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