Closed edemaine closed 8 years ago
I guess I'm still getting used to the new Meteor package system... This is now necessary to access ShareJS
:
import {ShareJS} from 'meteor/mizzao:sharejs'
(in CoffeeScript, this must be put in back ticks)
This should probably be added to the README where you mention accessing ShareJS.model
...
Thanks I added it to the readme
I just updated, but now accessing the
ShareJS
object (on the server, in main code or in a method) reportsReferenceError: ShareJS is not defined
. I assume things moved in 0.9.0, but the documentation doesn't seem to have changed. Where can I find this object now? (I'm confused, because I seeexport const ShareJS = ShareJS || {};
in sharejs-server.js...)