Browse Source

Removed console.logs from code

css_transitions
jos 10 years ago
parent
commit
8b8e2ac2c7
2 changed files with 0 additions and 12 deletions
  1. +0
    -6
      dist/vis.js
  2. +0
    -6
      src/timeline/component/ItemSet.js

+ 0
- 6
dist/vis.js View File

@ -5224,8 +5224,6 @@ ItemSet.prototype.setItems = function setItems(items) {
ids, ids,
oldItemsData = this.itemsData; oldItemsData = this.itemsData;
console.log('setItems', items)
// replace the dataset // replace the dataset
if (!items) { if (!items) {
this.itemsData = null; this.itemsData = null;
@ -5255,8 +5253,6 @@ ItemSet.prototype.setItems = function setItems(items) {
me.itemsData.on(event, callback, id); me.itemsData.on(event, callback, id);
}); });
console.log('subscribe to dataset', me.itemsData)
// draw all new items // draw all new items
ids = this.itemsData.getIds(); ids = this.itemsData.getIds();
this._onAdd(ids); this._onAdd(ids);
@ -5297,8 +5293,6 @@ ItemSet.prototype.removeItem = function removeItem (id) {
* @private * @private
*/ */
ItemSet.prototype._onUpdate = function _onUpdate(ids) { ItemSet.prototype._onUpdate = function _onUpdate(ids) {
console.log('_onUpdate', ids);
var me = this, var me = this,
items = this.items, items = this.items,
itemOptions = this.itemOptions; itemOptions = this.itemOptions;

+ 0
- 6
src/timeline/component/ItemSet.js View File

@ -495,8 +495,6 @@ ItemSet.prototype.setItems = function setItems(items) {
ids, ids,
oldItemsData = this.itemsData; oldItemsData = this.itemsData;
console.log('setItems', items)
// replace the dataset // replace the dataset
if (!items) { if (!items) {
this.itemsData = null; this.itemsData = null;
@ -526,8 +524,6 @@ ItemSet.prototype.setItems = function setItems(items) {
me.itemsData.on(event, callback, id); me.itemsData.on(event, callback, id);
}); });
console.log('subscribe to dataset', me.itemsData)
// draw all new items // draw all new items
ids = this.itemsData.getIds(); ids = this.itemsData.getIds();
this._onAdd(ids); this._onAdd(ids);
@ -568,8 +564,6 @@ ItemSet.prototype.removeItem = function removeItem (id) {
* @private * @private
*/ */
ItemSet.prototype._onUpdate = function _onUpdate(ids) { ItemSet.prototype._onUpdate = function _onUpdate(ids) {
console.log('_onUpdate', ids);
var me = this, var me = this,
items = this.items, items = this.items,
itemOptions = this.itemOptions; itemOptions = this.itemOptions;

Loading…
Cancel
Save