Example of a simple package that implements a separate Model and View and uses atom.views.addViewProvider()?


#1

Can someone point me to a simple example of a package that uses a separate model and view and properly registers the view using ViewRegistry::addViewProvider, as is suggested in the workspace.addLeft/Right/Bottom/Top/Panel() methods? The text editor system uses it, but it’s a pretty complex example.

Thanks,

Andrew


#2

It looks like the notifications package does: