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
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
>
<
script
>
const
RepoFile
=
{
const
RepoFile
=
{
props
:
{
props
:
{
name
:
'
repo-file
'
,
file
:
{
file
:
Object
,
type
:
Object
,
isTree
:
Boolean
,
required
:
true
,
isMini
:
Boolean
,
},
loading
:
Object
,
isMini
:
{
hasFiles
:
Boolean
,
type
:
Boolean
,
activeFile
:
Object
,
required
:
false
,
default
:
false
,
},
loading
:
{
type
:
Object
,
required
:
false
,
default
:
{},
},
hasFiles
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
activeFile
:
{
type
:
Object
,
required
:
true
,
},
},
},
methods
:
{
methods
:
{
...
...
app/assets/javascripts/repo/repo_file_options.vue
View file @
115ffa37
<
script
>
<
script
>
const
RepoFileOptions
=
{
const
RepoFileOptions
=
{
props
:
{
props
:
{
name
:
'
repo-file-options
'
,
isMini
:
{
isMini
:
Boolean
,
type
:
Boolean
,
projectName
:
String
,
required
:
false
,
default
:
false
,
},
projectName
:
{
type
:
String
,
required
:
true
,
},
},
},
};
};
...
...
app/assets/javascripts/repo/repo_loading_file.vue
View file @
115ffa37
<
script
>
<
script
>
const
RepoLoadingFile
=
{
const
RepoLoadingFile
=
{
props
:
{
loading
:
{
type
:
Object
,
required
:
false
,
default
:
{},
},
hasFiles
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
isMini
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
},
methods
:
{
methods
:
{
lineOfCode
(
n
)
{
lineOfCode
(
n
)
{
return
`line-of-code-
${
n
}
`
;
return
`line-of-code-
${
n
}
`
;
},
},
},
},
props
:
{
loading
:
Object
,
hasFiles
:
Boolean
,
isMini
:
Boolean
,
},
};
};
export
default
RepoLoadingFile
;
export
default
RepoLoadingFile
;
...
...
app/assets/javascripts/repo/repo_prev_directory.vue
View file @
115ffa37
<
script
>
<
script
>
const
RepoPreviousDirectory
=
{
const
RepoPreviousDirectory
=
{
props
:
{
props
:
{
name
:
'
repo-previous-directory
'
,
prevUrl
:
{
prevUrl
:
String
,
type
:
String
,
required
:
true
,
},
},
},
methods
:
{
methods
:
{
...
...
app/assets/javascripts/repo/repo_tab.vue
View file @
115ffa37
...
@@ -3,9 +3,10 @@ import RepoStore from './repo_store';
...
@@ -3,9 +3,10 @@ import RepoStore from './repo_store';
const
RepoTab
=
{
const
RepoTab
=
{
props
:
{
props
:
{
name
:
'
repo-tab
'
,
tab
:
{
tab
:
Object
,
type
:
Object
,
saved
:
true
,
required
:
true
,
},
},
},
computed
:
{
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