Use JSON example since package.json is target

This commit is contained in:
Kevin Sawicki
2014-12-03 11:04:17 -08:00
parent c1a93395f5
commit f4b08649a0

View File

@@ -411,10 +411,11 @@ class Package
deprecate """
Use `activationCommands` instead of `activationEvents` in your package.json
Commands should be grouped by selector as follows:
```coffee
activationCommands:
"atom-workspace": ["foo:bar", "foo:baz"]
```json
"activationCommands": {
"atom-workspace": ["foo:bar", "foo:baz"],
"atom-text-editor": ["foo:quux"]
}
```
"""
if _.isArray(@metadata.activationEvents)