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
Jérome Perrin
gitlab-ce
Commits
c2497d8b
Commit
c2497d8b
authored
Feb 23, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused StatGraph class
parent
c5b29ed6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
39 deletions
+0
-39
app/assets/javascripts/graphs/graphs_bundle.js
app/assets/javascripts/graphs/graphs_bundle.js
+0
-1
app/assets/javascripts/graphs/stat_graph.js
app/assets/javascripts/graphs/stat_graph.js
+0
-18
spec/javascripts/graphs/stat_graph_spec.js
spec/javascripts/graphs/stat_graph_spec.js
+0
-20
No files found.
app/assets/javascripts/graphs/graphs_bundle.js
View file @
c2497d8b
require
(
'
./stat_graph_contributors_graph
'
);
require
(
'
./stat_graph_contributors_util
'
);
require
(
'
./stat_graph_contributors
'
);
require
(
'
./stat_graph
'
);
app/assets/javascripts/graphs/stat_graph.js
deleted
100644 → 0
View file @
c5b29ed6
/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-return-assign, max-len */
(
function
()
{
this
.
StatGraph
=
(
function
()
{
function
StatGraph
()
{}
StatGraph
.
log
=
{};
StatGraph
.
get_log
=
function
()
{
return
this
.
log
;
};
StatGraph
.
set_log
=
function
(
data
)
{
return
this
.
log
=
data
;
};
return
StatGraph
;
})();
}).
call
(
window
);
spec/javascripts/graphs/stat_graph_spec.js
deleted
100644 → 0
View file @
c5b29ed6
/* eslint-disable quotes */
/* global StatGraph */
require
(
'
~/graphs/stat_graph
'
);
describe
(
"
StatGraph
"
,
function
()
{
describe
(
"
#get_log
"
,
function
()
{
it
(
"
returns log
"
,
function
()
{
StatGraph
.
log
=
"
test
"
;
expect
(
StatGraph
.
get_log
()).
toBe
(
"
test
"
);
});
});
describe
(
"
#set_log
"
,
function
()
{
it
(
"
sets the log
"
,
function
()
{
StatGraph
.
set_log
(
"
test
"
);
expect
(
StatGraph
.
log
).
toBe
(
"
test
"
);
});
});
});
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