mizzao / meteor-sharejs

Meteor smart package for transparently adding ShareJS editors to an app
MIT License
225 stars 53 forks source link

Error: Server-generated random doc names are not currently supported #17

Closed swese44 closed 10 years ago

swese44 commented 10 years ago

I've updated to Meteor 0.8.2 and the latest version of sharejs, and the browser shows the error listed in the title. I don't have any configuration, just the template and its JS file. "_id" and "callback" are working as expected. Any ideas? Thanks!

{{> sharejsAce docId=_id callback=config id="editor"}}
Template.editor.helpers({
  config: function() {
    return function(editor) {
      editor.setShowPrintMargin(false);
      editor.getSession().setUseWrapMode(true);
      return editor;
    };
  }
});
swese44 commented 10 years ago

Oh duh, I had a capital "I" in docId instead of docid. False alarm!