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
Jérome Perrin
gitlab-ce
Commits
115ffa37
Commit
115ffa37
authored
Jul 20, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change props to meet guidelines
parent
f0e23800
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
21 deletions
+58
-21
app/assets/javascripts/repo/repo_file.vue
app/assets/javascripts/repo/repo_file.vue
+23
-7
app/assets/javascripts/repo/repo_file_options.vue
app/assets/javascripts/repo/repo_file_options.vue
+9
-3
app/assets/javascripts/repo/repo_loading_file.vue
app/assets/javascripts/repo/repo_loading_file.vue
+18
-6
app/assets/javascripts/repo/repo_prev_directory.vue
app/assets/javascripts/repo/repo_prev_directory.vue
+4
-2
app/assets/javascripts/repo/repo_tab.vue
app/assets/javascripts/repo/repo_tab.vue
+4
-3
No files found.
app/assets/javascripts/repo/repo_file.vue
View file @
115ffa37
<
script
>
const
RepoFile
=
{
props
:
{
name
:
'
repo-file
'
,
file
:
Object
,
isTree
:
Boolean
,
isMini
:
Boolean
,
loading
:
Object
,
hasFiles
:
Boolean
,
activeFile
:
Object
,
file
:
{
type
:
Object
,
required
:
true
,
},
isMini
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
loading
:
{
type
:
Object
,
required
:
false
,
default
:
{},
},
hasFiles
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
activeFile
:
{
type
:
Object
,
required
:
true
,
},
},
methods
:
{
...
...
app/assets/javascripts/repo/repo_file_options.vue
View file @
115ffa37
<
script
>
const
RepoFileOptions
=
{
props
:
{
name
:
'
repo-file-options
'
,
isMini
:
Boolean
,
projectName
:
String
,
isMini
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
projectName
:
{
type
:
String
,
required
:
true
,
},
},
};
...
...
app/assets/javascripts/repo/repo_loading_file.vue
View file @
115ffa37
<
script
>
const
RepoLoadingFile
=
{
props
:
{
loading
:
{
type
:
Object
,
required
:
false
,
default
:
{},
},
hasFiles
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
isMini
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
},
methods
:
{
lineOfCode
(
n
)
{
return
`line-of-code-
${
n
}
`
;
},
},
props
:
{
loading
:
Object
,
hasFiles
:
Boolean
,
isMini
:
Boolean
,
},
};
export
default
RepoLoadingFile
;
...
...
app/assets/javascripts/repo/repo_prev_directory.vue
View file @
115ffa37
<
script
>
const
RepoPreviousDirectory
=
{
props
:
{
name
:
'
repo-previous-directory
'
,
prevUrl
:
String
,
prevUrl
:
{
type
:
String
,
required
:
true
,
},
},
methods
:
{
...
...
app/assets/javascripts/repo/repo_tab.vue
View file @
115ffa37
...
...
@@ -3,9 +3,10 @@ import RepoStore from './repo_store';
const
RepoTab
=
{
props
:
{
name
:
'
repo-tab
'
,
tab
:
Object
,
saved
:
true
,
tab
:
{
type
:
Object
,
required
:
true
,
},
},
computed
:
{
...
...
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