From 438df1188784985769d5b87647f824c56e02ec14 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Wed, 28 Dec 2016 15:33:45 -0500 Subject: [PATCH] update some references --- docs/index.html | 5 ++--- gallery/index.html | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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 - + -- 2.7.4