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
a5c9dfa1
Commit
a5c9dfa1
authored
Sep 04, 2019
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use PascalCase for Vue components
parent
7a7a5467
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
app/assets/javascripts/performance_bar/components/detailed_metric.vue
...avascripts/performance_bar/components/detailed_metric.vue
+2
-2
app/assets/javascripts/performance_bar/components/performance_bar_app.vue
...cripts/performance_bar/components/performance_bar_app.vue
+4
-4
app/assets/javascripts/performance_bar/index.js
app/assets/javascripts/performance_bar/index.js
+1
-1
No files found.
app/assets/javascripts/performance_bar/components/detailed_metric.vue
View file @
a5c9dfa1
<
script
>
import
r
equestWarning
from
'
./request_warning.vue
'
;
import
R
equestWarning
from
'
./request_warning.vue
'
;
import
DeprecatedModal2
from
'
~/vue_shared/components/deprecated_modal_2.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
export
default
{
components
:
{
r
equestWarning
,
R
equestWarning
,
GlModal
:
DeprecatedModal2
,
Icon
,
},
...
...
app/assets/javascripts/performance_bar/components/performance_bar_app.vue
View file @
a5c9dfa1
<
script
>
import
{
glEmojiTag
}
from
'
~/emoji
'
;
import
d
etailedMetric
from
'
./detailed_metric.vue
'
;
import
r
equestSelector
from
'
./request_selector.vue
'
;
import
D
etailedMetric
from
'
./detailed_metric.vue
'
;
import
R
equestSelector
from
'
./request_selector.vue
'
;
import
{
s__
}
from
'
~/locale
'
;
export
default
{
components
:
{
d
etailedMetric
,
r
equestSelector
,
D
etailedMetric
,
R
equestSelector
,
},
props
:
{
store
:
{
...
...
app/assets/javascripts/performance_bar/index.js
View file @
a5c9dfa1
...
...
@@ -6,7 +6,7 @@ export default ({ container }) =>
new
Vue
({
el
:
container
,
components
:
{
p
erformanceBarApp
:
()
=>
import
(
'
./components/performance_bar_app.vue
'
),
P
erformanceBarApp
:
()
=>
import
(
'
./components/performance_bar_app.vue
'
),
},
data
()
{
const
performanceBarData
=
document
.
querySelector
(
this
.
$options
.
el
).
dataset
;
...
...
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