X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ffractions.html;h=97a8a4590aca28ef51caedff75a598f65a711825;hb=0a31d41e94fae75808da6caa36e96fcdd40fd23f;hp=7af7eec63d15b51ebb8122883ded414802222c38;hpb=7e5ddc9488079169a4311f870727043b5216a81e;p=dygraphs.git diff --git a/tests/fractions.html b/tests/fractions.html index 7af7eec..97a8a45 100644 --- a/tests/fractions.html +++ b/tests/fractions.html @@ -1,16 +1,9 @@ - + Fractions - - - + @@ -28,13 +21,13 @@ "3,2/3,17/49\n"+ "4,25/30,100/200"; - new Dygraph(document.getElementById("dg"), + var g1 = new Dygraph(document.getElementById("dg"), frac_str, { fractions: true }); - new Dygraph(document.getElementById("dg2"), + var g2 = new Dygraph(document.getElementById("dg2"), frac_str, { fractions: true,