From 857dc16cdac8c86ceca66983212299eceb8a111f Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Sun, 28 Apr 2013 00:48:16 +0200 Subject: [PATCH] indenting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44a5a76..caeff03 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ all functionality is found index.html var main_documentId = 'json:app:main' sharejs.open( main_documentId, 'json', function (error, mainDoc) { - // [type:collection:nameDoc.id:attribute] - var attribute_documentId = 'text:app:'+mainDoc._id + ':index'; + // [type:collection:name:attribute] + var attribute_documentId = 'text:app:' + mainDoc.name + ':index'; sharejs.open( attribute_documentId, 'text', function (error, attributeDoc) { // see https://github.com/josephg/ShareJS/wiki