From: Dan Vanderkam Date: Wed, 28 Dec 2016 20:33:45 +0000 (-0500) Subject: update some references X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=438df1188784985769d5b87647f824c56e02ec14;p=dygraphs.git update some references --- diff --git a/docs/index.html b/docs/index.html index 1078673..f969672 100644 --- a/docs/index.html +++ b/docs/index.html @@ -69,9 +69,8 @@ pre.prettyprint { and use it via:
import Dygraph from 'dygraphs';
-        // or: const Dygraph = require('dygraphs');
-        const g = new Dygraph(div, data, {});
-      
+// or: const Dygraph = require('dygraphs'); +const g = new Dygraph(div, data, {});

Check out the dygraphs ES6 sample project for more details on this approach.

diff --git a/gallery/index.html b/gallery/index.html index 86c87ec..6d546b0 100644 --- a/gallery/index.html +++ b/gallery/index.html @@ -2,7 +2,7 @@ Dygraphs Gallery - +