Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Package.getActivationCommands is deprecated. #10

Closed
areologist opened this issue May 5, 2015 · 3 comments
Closed

Package.getActivationCommands is deprecated. #10

areologist opened this issue May 5, 2015 · 3 comments
Labels

Comments

@areologist
Copy link

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:

  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }
Package.getActivationCommands (C:\Users\fango_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:790:9)
Package.hasActivationCommands (C:\Users\fango_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:715:20)
<unknown> (C:\Users\fango_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:169:24)
Package.measure (C:\Users\fango_000\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:147:15)

tslint-dep

@areologist
Copy link
Author

Pull request submitted.

@kyoh86
Copy link

kyoh86 commented May 20, 2015

+1

@kevinsawicki
Copy link
Member

Fixed by #14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants