add HTML5 doctype to all tests
[dygraphs.git] / tests / demo.html
index 7ead514..7fedf3f 100644 (file)
@@ -1,8 +1,9 @@
+<!DOCTYPE html>
 <html>
   <head>
     <title>demo</title>
     <!--[if IE]>
-    <script type="text/javascript" src="excanvas.js"></script>
+    <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>
@@ -19,7 +20,7 @@
     </td>
     </tr></table>
     <script type="text/javascript">
-      g = new DateGraph(
+      g = new Dygraph(
               document.getElementById("demodiv"),
               function() {
                 var zp = function(x) { if (x < 10) return "0"+x; else return x; };