y-takey / atom-mermaid

Preview mermaid on atom editor
MIT License
42 stars 7 forks source link

MermaidView.trigger is deprecated. #2

Closed vmuriart closed 9 years ago

vmuriart commented 9 years ago

Are you trying to dispatch the 'atom-mermaid-preview:html-changed' Atom command with jQuery::trigger? jQuery::trigger can no longer emit Atom commands as it will not correctly route the command to its handlers. Please use atom.commands.dispatch instead. See the docs at https://atom.io/docs/api/latest/CommandRegistry

y-takey commented 9 years ago

@vmuriart Thank you. I replaced MermaidView.trigger with atom.commands.dispatch .