From 412a503f4286d30f1baf10a42ef6a7ee5df142f2 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Fri, 15 Jul 2016 03:15:31 -0400 Subject: [PATCH] fix documentation: properties.nodes doesn't exist, it's properties.items --- docs/timeline/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/timeline/index.html b/docs/timeline/index.html index f0b4d742..9e8b8caf 100644 --- a/docs/timeline/index.html +++ b/docs/timeline/index.html @@ -1314,7 +1314,7 @@ document.getElementById('myTimeline').onclick = function (event) {
 timeline.on('select', function (properties) {
-  alert('selected items: ' + properties.nodes);
+  alert('selected items: ' + properties.items);
 });
 
@@ -1324,7 +1324,7 @@ timeline.on('select', function (properties) {
 function onSelect (properties) {
-  alert('selected items: ' + properties.nodes);
+  alert('selected items: ' + properties.items);
 }
 
 // add event listener