From 55a8b707925466cc541dba77df08238a3efbbdd1 Mon Sep 17 00:00:00 2001 From: yotamberk Date: Mon, 16 Jan 2017 20:38:58 +0200 Subject: [PATCH] Fix(examples): #2585 Fixed React example (#2587) * Fix redraw order * Fix error when option is not defined * Allow template labels * Add .travis.yml file * Add experiment travis code * Fix react example --- examples/timeline/other/usingReact.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/timeline/other/usingReact.html b/examples/timeline/other/usingReact.html index ba7bb49f..8c9ade42 100644 --- a/examples/timeline/other/usingReact.html +++ b/examples/timeline/other/usingReact.html @@ -93,7 +93,7 @@ return ReactDOM.render(, element); }, groupTemplate: function (group, element) { - if (!item) { return } + if (!group) { return } ReactDOM.unmountComponentAtNode(element); return ReactDOM.render(, element); }