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
dd0ce266
Commit
dd0ce266
authored
Dec 21, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in app/assets/javascripts/graphs/stat_graph_contributors_graph.js
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
a1e86f9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
19 deletions
+3
-19
app/assets/javascripts/graphs/stat_graph_contributors_graph.js
...ssets/javascripts/graphs/stat_graph_contributors_graph.js
+3
-19
No files found.
app/assets/javascripts/graphs/stat_graph_contributors_graph.js
View file @
dd0ce266
/* eslint-disable func-names, space-before-function-paren, no-var, prefer-rest-params, max-len, no-restricted-syntax, vars-on-top, no-use-before-define, no-param-reassign, new-cap, no-underscore-dangle, wrap-iife, comma-dangle, no-return-assign, prefer-arrow-callback, quotes, prefer-template, newline-per-chained-call, no-else-return, no-shadow */
import
_
from
'
underscore
'
;
<<<<<<<
HEAD
import
d3
from
'
d3
'
;
import
{
dateTickFormat
}
from
'
../lib/utils/tick_formats
'
;
=======
import
{
extent
,
max
}
from
'
d3-array
'
;
import
{
select
,
event
as
d3Event
}
from
'
d3-selection
'
;
import
{
scaleTime
,
scaleLinear
}
from
'
d3-scale
'
;
...
...
@@ -11,9 +7,9 @@ import { axisLeft, axisBottom } from 'd3-axis';
import
{
area
}
from
'
d3-shape
'
;
import
{
brushX
}
from
'
d3-brush
'
;
import
{
timeParse
}
from
'
d3-time-format
'
;
import
{
dateTickFormat
}
from
'
../lib/utils/tick_formats
'
;
const
d3
=
{
extent
,
max
,
select
,
scaleTime
,
scaleLinear
,
axisLeft
,
axisBottom
,
area
,
brushX
,
timeParse
};
>>>>>>>
origin
/
master
const
extend
=
function
(
child
,
parent
)
{
for
(
var
key
in
parent
)
{
if
(
hasProp
.
call
(
parent
,
key
))
child
[
key
]
=
parent
[
key
];
}
function
ctor
()
{
this
.
constructor
=
child
;
}
ctor
.
prototype
=
parent
.
prototype
;
child
.
prototype
=
new
ctor
();
child
.
__super__
=
parent
.
prototype
;
return
child
;
};
const
hasProp
=
{}.
hasOwnProperty
;
...
...
@@ -147,16 +143,10 @@ export const ContributorsMasterGraph = (function(superClass) {
};
ContributorsMasterGraph
.
prototype
.
create_axes
=
function
()
{
<<<<<<<
HEAD
this
.
x_axis
=
d3
.
svg
.
axis
()
this
.
x_axis
=
d3
.
axisBottom
()
.
scale
(
this
.
x
)
.
orient
(
'
bottom
'
)
.
tickFormat
(
dateTickFormat
);
return
this
.
y_axis
=
d3
.
svg
.
axis
().
scale
(
this
.
y
).
orient
(
"
left
"
).
ticks
(
5
);
=======
this
.
x_axis
=
d3
.
axisBottom
().
scale
(
this
.
x
);
return
this
.
y_axis
=
d3
.
axisLeft
().
scale
(
this
.
y
).
ticks
(
5
);
>>>>>>>
origin
/
master
};
ContributorsMasterGraph
.
prototype
.
create_svg
=
function
()
{
...
...
@@ -248,17 +238,11 @@ export const ContributorsAuthorGraph = (function(superClass) {
};
ContributorsAuthorGraph
.
prototype
.
create_axes
=
function
()
{
<<<<<<<
HEAD
this
.
x_axis
=
d3
.
svg
.
axis
()
this
.
x_axis
=
d3
.
axisBottom
()
.
scale
(
this
.
x
)
.
orient
(
'
bottom
'
)
.
ticks
(
8
)
.
tickFormat
(
dateTickFormat
);
return
this
.
y_axis
=
d3
.
svg
.
axis
().
scale
(
this
.
y
).
orient
(
"
left
"
).
ticks
(
5
);
=======
this
.
x_axis
=
d3
.
axisBottom
().
scale
(
this
.
x
).
ticks
(
8
);
return
this
.
y_axis
=
d3
.
axisLeft
().
scale
(
this
.
y
).
ticks
(
5
);
>>>>>>>
origin
/
master
};
ContributorsAuthorGraph
.
prototype
.
create_area
=
function
(
x
,
y
)
{
...
...
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