pulsar/spec/fixtures/packages/package-with-deprecated-pane-item-method/index.coffee
Nathan Sobo e60a9e45f7 Display package name correctly for ::getUri deprecation warnings
We capture the package name during the call to ::addOpener and use it
if any open items have the deprecated ::getUri method.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-01-14 14:23:17 -07:00

6 lines
101 B
CoffeeScript

class TestItem
getUri: -> "test"
exports.activate = ->
atom.workspace.addOpener -> new TestItem