Arquivos
atom/spec/fixtures/packages/package-with-deprecated-pane-item-method/index.coffee
T
Nathan Sobo aa180e1498 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 12:44:26 -07:00

6 linhas
101 B
CoffeeScript

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