jchouse / csscomb-atom

MIT License
16 stars 9 forks source link

Deprecated calls With Atom version 0.196.0 #13

Closed 1989car closed 9 years ago

1989car commented 9 years ago

Hi, @jchouse.

With Atom version 0.196.0 the plugin reports these following problems:

The context menu CSON format has changed. Please see https://atom.io/docs/api/latest/ContextMenuManager#context-menu-cson-format for more info.
Called 1 time
Package.activateResources - /usr/share/atom/resources/app.asar/src/package.js:303:19
<unknown> - /usr/share/atom/resources/app.asar/src/package.js:199:21
Package.measure - /usr/share/atom/resources/app.asar/src/package.js:147:15
Package.activate - /usr/share/atom/resources/app.asar/src/package.js:195:14
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"]
  }
Called 1 time
Package.getActivationCommands - /usr/share/atom/resources/app.asar/src/package.js:790:9
Package.hasActivationCommands - /usr/share/atom/resources/app.asar/src/package.js:715:20
<unknown> - /usr/share/atom/resources/app.asar/src/package.js:169:24
Package.measure - /usr/share/atom/resources/app.asar/src/package.js:147:15

I try to solve these problems. Hopefully,it will help you.