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
36705b10
Commit
36705b10
authored
Aug 17, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CE->EE: fix upstream merge conflicts
parent
5cbdbdf3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
58 deletions
+0
-58
app/assets/javascripts/repo/components/repo_edit_button.vue
app/assets/javascripts/repo/components/repo_edit_button.vue
+0
-10
app/assets/javascripts/repo/components/repo_sidebar.vue
app/assets/javascripts/repo/components/repo_sidebar.vue
+0
-4
app/assets/javascripts/repo/components/repo_tab.vue
app/assets/javascripts/repo/components/repo_tab.vue
+0
-8
app/assets/javascripts/repo/components/repo_tabs.vue
app/assets/javascripts/repo/components/repo_tabs.vue
+0
-11
app/assets/javascripts/repo/helpers/repo_helper.js
app/assets/javascripts/repo/helpers/repo_helper.js
+0
-11
app/assets/javascripts/repo/stores/repo_store.js
app/assets/javascripts/repo/stores/repo_store.js
+0
-3
spec/javascripts/repo/components/repo_tabs_spec.js
spec/javascripts/repo/components/repo_tabs_spec.js
+0
-11
No files found.
app/assets/javascripts/repo/components/repo_edit_button.vue
View file @
36705b10
...
...
@@ -34,17 +34,7 @@ export default {
watch
:
{
editMode
()
{
<<<<<<<
HEAD
if
(
this
.
editMode
)
{
$
(
'
.project-refs-form
'
).
addClass
(
'
disabled
'
);
$
(
'
.js-tree-ref-target-holder
'
).
show
();
}
else
{
$
(
'
.project-refs-form
'
).
removeClass
(
'
disabled
'
);
$
(
'
.js-tree-ref-target-holder
'
).
hide
();
}
=======
this
.
toggleProjectRefsForm
();
>>>>>>>
upstream
/
master
},
},
};
...
...
app/assets/javascripts/repo/components/repo_sidebar.vue
View file @
36705b10
...
...
@@ -35,11 +35,7 @@ export default {
fileClicked
(
clickedFile
)
{
let
file
=
clickedFile
;
<<<<<<<
HEAD
=======
if
(
file
.
loading
)
return
;
>>>>>>>
upstream
/
master
file
.
loading
=
true
;
if
(
file
.
type
===
'
tree
'
&&
file
.
opened
)
{
file
=
Store
.
removeChildFilesOfTree
(
file
);
...
...
app/assets/javascripts/repo/components/repo_tab.vue
View file @
36705b10
...
...
@@ -39,19 +39,11 @@ export default RepoTab;
</
script
>
<
template
>
<<<<<<<
HEAD
<li>
<a
href=
"#0"
class=
"close"
@
click.prevent=
"xClicked(tab)"
=======
<li
@
click=
"tabClicked(tab)"
>
<a
href=
"#0"
class=
"close"
@
click.stop.prevent=
"closeTab(tab)"
>
>>>>>> upstream/master
:aria-label=
"closeLabel"
>
<i
class=
"fa"
...
...
app/assets/javascripts/repo/components/repo_tabs.vue
View file @
36705b10
...
...
@@ -13,11 +13,7 @@ const RepoTabs = {
data
:
()
=>
Store
,
methods
:
{
<<<<<<<
HEAD
xClicked
(
file
)
{
=======
tabClosed
(
file
)
{
>>>>>>>
upstream
/
master
Store
.
removeFromOpenedFiles
(
file
);
},
},
...
...
@@ -27,12 +23,6 @@ export default RepoTabs;
</
script
>
<
template
>
<<<<<<<
HEAD
<ul
v-if=
"isMini"
id=
"tabs"
>
<repo-tab
v-for=
"tab in openedFiles"
:key=
"tab.id"
:tab=
"tab"
:class=
"
{'active' : tab.active}" @xclicked="xClicked"/>
=======
<ul
id=
"tabs"
>
<repo-tab
v-for=
"tab in openedFiles"
...
...
@@ -41,7 +31,6 @@ export default RepoTabs;
:class=
"
{'active' : tab.active}"
@tabclosed="tabClosed"
/>
>>>>>>> upstream/master
<li
class=
"tabs-divider"
/>
</ul>
</
template
>
app/assets/javascripts/repo/helpers/repo_helper.js
View file @
36705b10
...
...
@@ -37,13 +37,6 @@ const RepoHelper = {
getFileExtension
(
fileName
)
{
return
fileName
.
split
(
'
.
'
).
pop
();
<<<<<<<
HEAD
},
getBranch
()
{
return
$
(
'
button.dropdown-menu-toggle
'
).
attr
(
'
data-ref
'
);
=======
>>>>>>>
upstream
/
master
},
getLanguageIDForFile
(
file
,
langs
)
{
...
...
@@ -142,10 +135,6 @@ const RepoHelper = {
return
Service
.
getContent
()
.
then
((
response
)
=>
{
const
data
=
response
.
data
;
<<<<<<<
HEAD
// RepoHelper.setLoading(false, loadingData);
=======
>>>>>>>
upstream
/
master
Store
.
isTree
=
RepoHelper
.
isTree
(
data
);
if
(
!
Store
.
isTree
)
{
if
(
!
file
)
file
=
data
;
...
...
app/assets/javascripts/repo/stores/repo_store.js
View file @
36705b10
...
...
@@ -6,11 +6,8 @@ const RepoStore = {
monaco
:
{},
monacoLoading
:
false
,
service
:
''
,
<<<<<<<
HEAD
=======
canCommit
:
false
,
onTopOfBranch
:
false
,
>>>>>>>
upstream
/
master
editMode
:
false
,
isTree
:
false
,
isRoot
:
false
,
...
...
spec/javascripts/repo/components/repo_tabs_spec.js
View file @
36705b10
...
...
@@ -29,17 +29,6 @@ describe('RepoTabs', () => {
expect
(
tabs
[
2
].
classList
.
contains
(
'
tabs-divider
'
)).
toBeTruthy
();
});
<<<<<<<
HEAD
it
(
'
does not render a tabs list if not isMini
'
,
()
=>
{
RepoStore
.
openedFiles
=
[];
const
vm
=
createComponent
();
expect
(
vm
.
$el
.
innerHTML
).
toBeFalsy
();
});
=======
>>>>>>>
upstream
/
master
describe
(
'
methods
'
,
()
=>
{
describe
(
'
tabClosed
'
,
()
=>
{
it
(
'
calls removeFromOpenedFiles with file obj
'
,
()
=>
{
...
...
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