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
957834e6
Commit
957834e6
authored
Jul 18, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'ide' and 'ide' of gitlab.com:gitlab-org/gitlab-ce into ide
parents
f63b5592
9b0c4b84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/repo/repo_helper.js
app/assets/javascripts/repo/repo_helper.js
+1
-0
app/assets/javascripts/repo/repo_prev_directory.js
app/assets/javascripts/repo/repo_prev_directory.js
+1
-1
No files found.
app/assets/javascripts/repo/repo_helper.js
View file @
957834e6
...
...
@@ -17,6 +17,7 @@ const RepoHelper = {
getLanguageForFile
(
file
,
langs
)
{
const
ext
=
`.
${
file
.
name
.
split
(
'
.
'
).
pop
()}
`
;
console
.
log
(
'
ext
'
,
ext
,
'
ext
'
)
let
foundLang
;
if
(
langs
.
some
((
l
)
=>
{
if
(
l
.
extensions
&&
l
.
extensions
.
indexOf
(
ext
)
>
-
1
)
{
...
...
app/assets/javascripts/repo/repo_prev_directory.js
View file @
957834e6
...
...
@@ -2,7 +2,7 @@ const RepoPreviousDirectory = {
template
:
`
<tr>
<td colspan='3'>
<a :href='prevUrl' @click.prevent='linkClicked(prev
u
rl)'>..</a>
<a :href='prevUrl' @click.prevent='linkClicked(prev
U
rl)'>..</a>
</td>
</tr>
`
,
...
...
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