From 3ab693b54d2037fda9cc8ecb13d8ea78627749e6 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Wed, 9 Jul 2014 02:23:38 -0700 Subject: [PATCH 1/3] README: fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1df09fd717c..5323f0b4038 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ in detail on [Megastore: Providing Scalable, Highly Available Storage for Intera If you're running this client on Google Compute Engine, you need to construct a dataset with your Compute Engine enabled project's ID (e.g. bamboo-shift-454). Project ID is listed on the [Google Developers Console](https://console.developers.google.com/project). ~~~~ js -var cloud = require('gcloud'), +var gcloud = require('gcloud'), ds = new gcloud.datastore.Dataset({ projectId: YOUR_PROJECT_ID }); ~~~~ From 013146ceadbbe4fc549d6c19b340e59daf69a617 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Wed, 9 Jul 2014 02:52:59 -0700 Subject: [PATCH 2/3] package.json: fix main --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ce3b9fa153a..63562700f7b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "email": "jbd@google.com" } ], - "main": "./lib/gcloud", + "main": "./lib/index", "repository": { "type": "git", "url": "https://github.com/googlecloudplatform/gcloud-nodejs.git" From e20311c7466c6b9e684c65eac6666fc384109125 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Wed, 9 Jul 2014 03:38:59 -0700 Subject: [PATCH 3/3] README: remove obj from del example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5323f0b4038..92c153f8431 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,7 @@ ds.saveAll([key1, key2, key3], [obj1, obj2, obj3], function(err, keys) { Deletion requires the key of the entity to be deleted. ~~~~ js -ds.del(['Company', 599900452312], obj, function(err) { +ds.del(['Company', 599900452312], function(err) { }); // alternatively, you can delete multiple entities of different