Commit 662bdfbe authored by Robert Speicher's avatar Robert Speicher

Make StatGraph JS explicitly require its dependencies

This allows us to test them in a bit more isolation.
parent d5c7b62b
#= require d3
#= require jquery
#= require stat_graph_contributors_util
class @ContributorsStatGraph
init: (log) ->
@parsed_log = ContributorsStatGraphUtil.parse_log(log)
......
#= require d3
#= require jquery
#= require underscore
class @ContributorsGraph
MARGIN:
top: 20
......
//= require stat_graph_contributors_graph
describe("ContributorsGraph", function () {
describe("#set_x_domain", function () {
it("set the x_domain", function () {
......
//= require stat_graph_contributors_util
describe("ContributorsStatGraphUtil", function () {
describe("#parse_log", function () {
......
//= require stat_graph
describe("StatGraph", function () {
describe("#get_log", function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment