{"action":"opened","issue":{"url":"https://api.github.com/repos/robkorv/slugify-atom/issues/2","labels_url":"https://api.github.com/repos/robkorv/slugify-atom/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/robkorv/slugify-atom/issues/2/comments","events_url":"https://api.github.com/repos/robkorv/slugify-atom/issues/2/events","html_url":"https://github.com/robkorv/slugify-atom/issues/2","id":96089627,"number":2,"title":"Package.getActivationCommands is deprecated.","user":{"login":"HeathNaylor","id":10814256,"avatar_url":"https://avatars.githubusercontent.com/u/10814256?v=3","gravatar_id":"","url":"https://api.github.com/users/HeathNaylor","html_url":"https://github.com/HeathNaylor","followers_url":"https://api.github.com/users/HeathNaylor/followers","following_url":"https://api.github.com/users/HeathNaylor/following{/other_user}","gists_url":"https://api.github.com/users/HeathNaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/HeathNaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeathNaylor/subscriptions","organizations_url":"https://api.github.com/users/HeathNaylor/orgs","repos_url":"https://api.github.com/users/HeathNaylor/repos","events_url":"https://api.github.com/users/HeathNaylor/events{/privacy}","received_events_url":"https://api.github.com/users/HeathNaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-20T15:31:07Z","updated_at":"2015-07-20T15:31:07Z","closed_at":null,"body":"Use `activationCommands` instead of `activationEvents` in your package.json\r\nCommands should be grouped by selector as follows:\r\n```json\r\n  \"activationCommands\": {\r\n    \"atom-workspace\": [\"foo:bar\", \"foo:baz\"],\r\n    \"atom-text-editor\": [\"foo:quux\"]\r\n  }\r\n```\r\n```\r\nPackage.getActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:808:9)\r\nPackage.hasActivationCommands (/usr/share/atom/resources/app.asar/src/package.js:733:20)\r\n<unknown> (/usr/share/atom/resources/app.asar/src/package.js:187:24)\r\nPackage.measure (/usr/share/atom/resources/app.asar/src/package.js:165:15)\r\nPackage.load (/usr/share/atom/resources/app.asar/src/package.js:179:12)\r\nPackageManager.loadPackage (/usr/share/atom/resources/app.asar/src/package-manager.js:372:14)\r\n```"}}