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
Boxiang Sun
gitlab-ce
Commits
e9dd3333
Commit
e9dd3333
authored
Aug 04, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eslint-fix
parent
a7a504b0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
app/assets/javascripts/repo/components/repo_edit_button.vue
app/assets/javascripts/repo/components/repo_edit_button.vue
+2
-2
app/assets/javascripts/repo/components/repo_editor.vue
app/assets/javascripts/repo/components/repo_editor.vue
+1
-2
app/assets/javascripts/repo/components/repo_preview.vue
app/assets/javascripts/repo/components/repo_preview.vue
+4
-4
app/assets/javascripts/repo/helpers/repo_helper.js
app/assets/javascripts/repo/helpers/repo_helper.js
+2
-2
No files found.
app/assets/javascripts/repo/components/repo_edit_button.vue
View file @
e9dd3333
...
...
@@ -37,8 +37,8 @@ export default {
$
(
'
.project-refs-target-form
'
).
hide
();
}
},
}
}
}
,
}
;
</
script
>
<
template
>
...
...
app/assets/javascripts/repo/components/repo_editor.vue
View file @
e9dd3333
...
...
@@ -36,7 +36,6 @@ const RepoEditor = {
const
newModel
=
this
.
monaco
.
editor
.
createModel
(
this
.
blobRaw
,
languageID
);
this
.
monacoInstance
.
setModel
(
newModel
);
}).
catch
(
Helper
.
loadingError
);
},
...
...
@@ -80,7 +79,7 @@ const RepoEditor = {
dialog
:
{
handler
(
obj
)
{
le
t
newObj
=
obj
;
cons
t
newObj
=
obj
;
if
(
newObj
.
status
)
{
newObj
.
status
=
false
;
this
.
openedFiles
.
map
((
file
)
=>
{
...
...
app/assets/javascripts/repo/components/repo_preview.vue
View file @
e9dd3333
...
...
@@ -9,7 +9,7 @@ export default {
computed
:
{
html
()
{
return
this
.
activeFile
.
html
;
}
}
,
},
watch
:
{
...
...
@@ -17,9 +17,9 @@ export default {
this
.
$nextTick
(()
=>
{
$
(
this
.
$el
).
find
(
'
.file-content
'
).
syntaxHighlight
();
});
}
}
}
}
,
}
,
}
;
</
script
>
<
template
>
...
...
app/assets/javascripts/repo/helpers/repo_helper.js
View file @
e9dd3333
...
...
@@ -180,8 +180,8 @@ const RepoHelper = {
Store
.
prevURL
=
Service
.
blobURLtoParentTree
(
Service
.
url
);
}
}).
catch
((
e
)
=>
{
console
.
log
(
e
)
RepoHelper
.
loadingError
()
console
.
log
(
e
)
;
RepoHelper
.
loadingError
()
;
});
},
...
...
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