From 4f4913531314774ce2d11a5682f089e51d19d952 Mon Sep 17 00:00:00 2001 From: Yotam Berkowitz Date: Tue, 15 Mar 2016 17:59:07 +0000 Subject: [PATCH] remove extra console.logs --- lib/timeline/Core.js | 1 - lib/timeline/Timeline.js | 2 -- lib/timeline/component/item/RangeItem.js | 2 -- 3 files changed, 5 deletions(-) diff --git a/lib/timeline/Core.js b/lib/timeline/Core.js index 022f5ccd..6f5d7b17 100644 --- a/lib/timeline/Core.js +++ b/lib/timeline/Core.js @@ -537,7 +537,6 @@ Core.prototype.fit = function(options) { var interval = range.max - range.min; var min = new Date(range.min.valueOf() - interval * 0.01); var max = new Date(range.max.valueOf() + interval * 0.01); - console.log(min, max); var animation = (options && options.animation !== undefined) ? options.animation : true; this.range.setRange(min, max, animation); }; diff --git a/lib/timeline/Timeline.js b/lib/timeline/Timeline.js index 9a84c993..af589ead 100644 --- a/lib/timeline/Timeline.js +++ b/lib/timeline/Timeline.js @@ -415,8 +415,6 @@ Timeline.prototype.getItemRange = function () { var start = getStart(item); var end = getEnd(item); - console.log(start, end) - console.log(this.options); if (this.options.rtl) { var startSide = start - (item.getWidthRight() + 10) * factor; diff --git a/lib/timeline/component/item/RangeItem.js b/lib/timeline/component/item/RangeItem.js index f49cc134..097501a7 100644 --- a/lib/timeline/component/item/RangeItem.js +++ b/lib/timeline/component/item/RangeItem.js @@ -123,7 +123,6 @@ RangeItem.prototype.redraw = function() { this.dirty = false; } - console.log("redrawing range"); this._repaintDeleteButton(dom.box); this._repaintDragLeft(); this._repaintDragRight(); @@ -308,7 +307,6 @@ RangeItem.prototype._repaintDragLeft = function () { * @protected */ RangeItem.prototype._repaintDragRight = function () { - console.log("repainting!!!!"); if (this.selected && this.options.editable.updateTime && !this.dom.dragRight) { // create and show drag area var dragRight = document.createElement('div');