Closed bluepuma77 closed 9 years ago
docid
is not going to be defined in that helper.
Sorry, but GitHub issues are not meant to be a support forum. Please understand how the demo works first and then build your app based on that.
Hi @mizzao, thanks for your support.
I think this issue has been raised by others before. To me it seems the main reason is that the README
implies that the steps mentioned above is all you need to get a demo working. So maybe add to the README
, that the steps do not create a working demo but that people need to look into the demo files instead.
Usage
No configuration necessary for anonymous document editing
Use this helper on the client to get a textarea
{{> sharejsText docid=docid id="editor"}}
Server Configuration
See this example config file for the various settings that you CAN [not must] use
Persistence
By default, the documents and edit operations will be persisted
Maybe a plain Javascript (no coffeescript) demo with a single textarea (no full-blown application) could help jump-start new developers with 'meteor-sharejs'.
This package is basically a band-aid to get over to full operational transformation with Meteor. As mentioned in #50 the ideal method would be ShareJS 0.7 with QuillJS. So it's not worth spending too much time on.
I am trying to get
meteor-sharejs
to work in the most basic example:And all I get is this lousy 'Loading':
I tried Meteor on Mac OS X and Ubuntu (in Docker with dedicated port), with Firefox, Chrome and Safari.
What should I change to get this basic example up and running correctly?