From f4b08649a004218cf19799fcbbf7c4a0dc5bd6fb Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 3 Dec 2014 11:04:17 -0800 Subject: [PATCH] Use JSON example since package.json is target --- src/package.coffee | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/package.coffee b/src/package.coffee index 39f50ea37..ac83aa310 100644 --- a/src/package.coffee +++ b/src/package.coffee @@ -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)