From 96b23d341805b7ff2d41dc66f72debc3c286952e Mon Sep 17 00:00:00 2001 From: jos Date: Wed, 24 Sep 2014 13:44:03 +0200 Subject: [PATCH] Fixed some typos in the docs --- docs/dataset.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/dataset.html b/docs/dataset.html index 1110bdbf..c2ebb60e 100644 --- a/docs/dataset.html +++ b/docs/dataset.html @@ -183,7 +183,7 @@ var data = new vis.DataSet([data] [, options]) add(data [, senderId]) Number[] - Add data to the DataSet. Adding an item will fail when there already is an item with the same id. The function returns an array with the ids of the added items. See section Data Manipulation. + Add one or multiple items to the DataSet. data can be a single item or an array with items. Adding an item will fail when there already is an item with the same id. The function returns an array with the ids of the added items. See section Data Manipulation. @@ -290,18 +290,17 @@ var data = new vis.DataSet([data] [, options]) Number[] - Remove on ore multiple items by id or by the items themselves. Returns an array with the ids of the removed items. See section Data Manipulation. + Remove one or multiple items by id or by the items themselves. Returns an array with the ids of the removed items. See section Data Manipulation. - update(id [, senderId])
- update(ids [, senderId]) + update(data [, senderId]) Number[] - Update on ore existing items. When an item doesn't exist, it will be created. Returns an array with the ids of the removed items. See section Data Manipulation. + Update on ore multiple existing items. data can be a single item or an array with items. When an item doesn't exist, it will be created. Returns an array with the ids of the removed items. See section Data Manipulation.