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
c3f26b0a
Unverified
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.js
app/assets/javascripts/pages/projects/new/index.js
+2
-0
project_new.js
app/assets/javascripts/projects/project_new.js
+0
-2
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