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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
aa7d9a0b
Commit
aa7d9a0b
authored
Jan 10, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor dispatcher sessions path
parent
82007530
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
6 deletions
+14
-6
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+3
-6
app/assets/javascripts/pages/sessions/new/index.js
app/assets/javascripts/pages/sessions/new/index.js
+11
-0
app/assets/javascripts/pages/sessions/new/oauth_remember_me.js
...ssets/javascripts/pages/sessions/new/oauth_remember_me.js
+0
-0
app/assets/javascripts/pages/sessions/new/signin_tabs_memoizer.js
...ts/javascripts/pages/sessions/new/signin_tabs_memoizer.js
+0
-0
app/assets/javascripts/pages/sessions/new/username_validator.js
...sets/javascripts/pages/sessions/new/username_validator.js
+0
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
aa7d9a0b
...
...
@@ -53,17 +53,14 @@ import UsersSelect from './users_select';
import
RefSelectDropdown
from
'
./ref_select_dropdown
'
;
import
GfmAutoComplete
from
'
./gfm_auto_complete
'
;
import
ShortcutsBlob
from
'
./shortcuts_blob
'
;
import
SigninTabsMemoizer
from
'
./signin_tabs_memoizer
'
;
import
Star
from
'
./star
'
;
import
TreeView
from
'
./tree
'
;
import
UsagePing
from
'
./usage_ping
'
;
import
UsernameValidator
from
'
./username_validator
'
;
import
VersionCheckImage
from
'
./version_check_image
'
;
import
Wikis
from
'
./wikis
'
;
import
ZenMode
from
'
./zen_mode
'
;
import
initSettingsPanels
from
'
./settings_panels
'
;
import
initExperimentalFlags
from
'
./experimental_flags
'
;
import
OAuthRememberMe
from
'
./oauth_remember_me
'
;
import
PerformanceBar
from
'
./performance_bar
'
;
import
initBroadcastMessagesForm
from
'
./broadcast_message
'
;
import
initNotes
from
'
./init_notes
'
;
...
...
@@ -161,9 +158,9 @@ import Activities from './activities';
initExperimentalFlags
();
break
;
case
'
sessions:new
'
:
new
UsernameValidator
();
new
SigninTabsMemoizer
();
new
OAuthRememberMe
({
container
:
$
(
"
.omniauth-container
"
)
}).
bindEvents
(
);
import
(
'
./pages/sessions/new
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:boards:show
'
:
case
'
projects:boards:index
'
:
...
...
app/assets/javascripts/pages/sessions/new/index.js
0 → 100644
View file @
aa7d9a0b
import
UsernameValidator
from
'
./username_validator
'
;
import
SigninTabsMemoizer
from
'
./signin_tabs_memoizer
'
;
import
OAuthRememberMe
from
'
./oauth_remember_me
'
;
export
default
()
=>
{
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
();
};
app/assets/javascripts/oauth_remember_me.js
→
app/assets/javascripts/
pages/sessions/new/
oauth_remember_me.js
View file @
aa7d9a0b
File moved
app/assets/javascripts/signin_tabs_memoizer.js
→
app/assets/javascripts/
pages/sessions/new/
signin_tabs_memoizer.js
View file @
aa7d9a0b
File moved
app/assets/javascripts/username_validator.js
→
app/assets/javascripts/
pages/sessions/new/
username_validator.js
View file @
aa7d9a0b
File moved
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