Enable "strict" mode -- and fix one missing "var" declaration.
[dygraphs.git] / dygraph-gviz.js
index 110ded2..7e514a6 100644 (file)
@@ -1,5 +1,8 @@
-// Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
-// All Rights Reserved.
+/**
+ * @license
+ * Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
+ * MIT-licensed (http://opensource.org/licenses/MIT)
+ */
 
 /**
  * @fileoverview A wrapper around the Dygraph class which implements the
@@ -14,6 +17,8 @@
  * - http://dygraphs.com/tests/annotation-gviz.html
  */
 
+"use strict";
+
 /**
  * A wrapper around Dygraph that implements the gviz API.
  * @param {Object} container The DOM object the visualization should live in.