aa180e1498
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>
6 linhas
101 B
CoffeeScript
6 linhas
101 B
CoffeeScript
class TestItem
|
|
getUri: -> "test"
|
|
|
|
exports.activate = ->
|
|
atom.workspace.addOpener -> new TestItem
|