Remove naming of anoymous functions. Unnecessary and slightly wrong.
[dygraphs.git] / tests / daylight-savings.html
index 365a8b7..4e7e213 100644 (file)
@@ -1,13 +1,17 @@
+<!DOCTYPE html>
 <html>
   <head>
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <title>Daylight Savings</title>
     <!--[if IE]>
     <script type="text/javascript" src="../excanvas.js"></script>
     <![endif]-->
-    <script type="text/javascript" src="../strftime/strftime-min.js"></script>
-    <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
-    <script type="text/javascript" src="../dygraph-canvas.js"></script>
-    <script type="text/javascript" src="../dygraph.js"></script>
+    <!--
+    For production (minified) code, use:
+    <script type="text/javascript" src="dygraph-combined.js"></script>
+    -->
+    <script type="text/javascript" src="../dygraph-dev.js"></script>
+
   </head>
   <body>
     <h2>DST</h2>
@@ -16,6 +20,9 @@
 
     <div id="demodiv"></div>
 
+    <p>The tick marks should all be on day boundaries or nice hours (6, 12, 18),
+    rather than on odd time boundaries like 5, 11, 17 and 23.</p>
+
     <script type="text/javascript">
       g = new Dygraph(
               document.getElementById("demodiv"),
@@ -24,7 +31,8 @@
 "2010-11-06 00:00:00,168571\n" +
 "2010-11-07 00:00:00,177796\n" +
 "2010-11-08 00:00:00,165587\n" +
-"2010-11-09 00:00:00,164380\n"
+"2010-11-09 00:00:00,164380\n",
+          { width: 1024 }
           );
     </script>
 </body>