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

Package.getActivationCommands is deprecated. #78

Closed
dr00t opened this issue May 4, 2015 · 3 comments
Closed

Package.getActivationCommands is deprecated. #78

dr00t opened this issue May 4, 2015 · 3 comments

Comments

@dr00t
Copy link

dr00t commented May 4, 2015

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\Piotr\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:790:9)
Package.hasActivationCommands (C:\Users\Piotr\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:715:20)
<unknown> (C:\Users\Piotr\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:169:24)
Package.measure (C:\Users\Piotr\AppData\Local\atom\app-0.196.0\resources\app.asar\src\package.js:147:15)
@davivcgarcia
Copy link

Looks like the APM repository is not reflecting the current version of the package. You can fix this issue applying the patch 619308e, which was already merged.

@iam4x
Copy link
Member

iam4x commented May 5, 2015

dup #70

@Arcanemagus
Copy link
Member

Duplicate of #60.

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

No branches or pull requests

4 participants