1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00

indenting

This commit is contained in:
Aiko Mastboom 2013-04-28 00:48:16 +02:00
parent d04e31b169
commit 857dc16cda

View File

@ -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