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
c3f26b0a
Commit
c3f26b0a
authored
Jan 17, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added project_new import
parent
8e629a45
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/pages/projects/new/index.js
app/assets/javascripts/pages/projects/new/index.js
+2
-0
app/assets/javascripts/projects/project_new.js
app/assets/javascripts/projects/project_new.js
+0
-2
spec/javascripts/projects/project_new_spec.js
spec/javascripts/projects/project_new_spec.js
+1
-1
No files found.
app/assets/javascripts/pages/projects/new/index.js
View file @
c3f26b0a
import
ProjectNew
from
'
../shared/project_new
'
;
import
initProjectVisibilitySelector
from
'
../../../project_visibility
'
;
import
initProjectNew
from
'
../../../projects/project_new
'
;
export
default
()
=>
{
new
ProjectNew
();
// eslint-disable-line no-new
initProjectVisibilitySelector
();
initProjectNew
.
bindEvents
();
};
app/assets/javascripts/projects/project_new.js
View file @
c3f26b0a
...
...
@@ -100,8 +100,6 @@ const bindEvents = () => {
$projectImportUrl
.
keyup
(()
=>
deriveProjectPathFromUrl
(
$projectImportUrl
));
};
document
.
addEventListener
(
'
DOMContentLoaded
'
,
bindEvents
);
export
default
{
bindEvents
,
deriveProjectPathFromUrl
,
...
...
spec/javascripts/projects/project_new_spec.js
View file @
c3f26b0a
import
projectNew
from
'
~/projects/project_new
'
;
f
describe
(
'
New Project
'
,
()
=>
{
describe
(
'
New Project
'
,
()
=>
{
let
$projectImportUrl
;
let
$projectPath
;
...
...
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