From 1d49599bc96f1126f7a2796ea39851aad8d20f71 Mon Sep 17 00:00:00 2001 From: jos Date: Mon, 1 Feb 2016 14:23:17 +0100 Subject: [PATCH] Fixed a regression: Timeline/Graph2d constructor throwing an exception when no options are provided via the constructor --- HISTORY.md | 10 ++++++++++ lib/timeline/Core.js | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 631c66a3..de1c144f 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,16 @@ http://visjs.org ## not yet released, version 4.13.1-SNAPSHOT +### Timeline + +- Fixed a regression: Timeline/Graph2d constructor throwing an exception when + no options are provided via the constructor. + +### Graph2d + +- Fixed a regression: Timeline/Graph2d constructor throwing an exception when + no options are provided via the constructor. + ### Graph3d - Fixed #1615: implemented new option `dotSizeRatio`. diff --git a/lib/timeline/Core.js b/lib/timeline/Core.js index 5b8750ef..86350197 100644 --- a/lib/timeline/Core.js +++ b/lib/timeline/Core.js @@ -29,7 +29,6 @@ Emitter(Core.prototype); */ Core.prototype._create = function (container) { this.dom = {}; - this.options = {}; this.dom.container = container;