From 0b2fce317178fac46e761866734d1158a3c7538d Mon Sep 17 00:00:00 2001 From: Wes Cruver Date: Wed, 6 Aug 2014 15:54:06 -0700 Subject: [PATCH] minor doc updates --- src/datastore/async_methods/create.js | 3 +-- src/datastore/async_methods/save.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/datastore/async_methods/create.js b/src/datastore/async_methods/create.js index d5e711d..1b275f9 100644 --- a/src/datastore/async_methods/create.js +++ b/src/datastore/async_methods/create.js @@ -27,8 +27,7 @@ var errorPrefix = 'DS.create(resourceName, attrs[, options]): '; * ``` * * @param {string} resourceName The resource type, e.g. 'user', 'comment', etc. - * @param {object} attrs The attributes with which to update the item of the type specified by `resourceName` that has - * the primary key specified by `id`. + * @param {object} attrs The attributes with which to create the item of the type specified by `resourceName`. * @param {object=} options Configuration options. Properties: * * - `{boolean=}` - `cacheResponse` - Inject the data returned by the server into the data store. Default: `true`. diff --git a/src/datastore/async_methods/save.js b/src/datastore/async_methods/save.js index ac9c154..38d201b 100644 --- a/src/datastore/async_methods/save.js +++ b/src/datastore/async_methods/save.js @@ -26,7 +26,7 @@ var errorPrefix = 'DS.save(resourceName, id[, options]): '; * ``` * * @param {string} resourceName The resource type, e.g. 'user', 'comment', etc. - * @param {string|number} id The primary key of the item to retrieve. + * @param {string|number} id The primary key of the item to save. * @param {object=} options Optional configuration. Properties:: * * - `{boolean=}` - `cacheResponse` - Inject the data returned by the server into the data store. Default: `true`.