d1b1 / atom-backbonejs

Backbone.js Snippets
MIT License
0 stars 0 forks source link

Package.getActivationCommands is deprecated. #7

Closed jameswlane closed 7 years ago

jameswlane commented 9 years ago

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\jl82576\AppData\Local\atom\app-0.207.0\resources\app.asar\src\package.js:806:9)
Package.hasActivationCommands (C:\Users\jl82576\AppData\Local\atom\app-0.207.0\resources\app.asar\src\package.js:731:20)
<unknown> (C:\Users\jl82576\AppData\Local\atom\app-0.207.0\resources\app.asar\src\package.js:185:24)
Package.measure (C:\Users\jl82576\AppData\Local\atom\app-0.207.0\resources\app.asar\src\package.js:163:15)
Package.load (C:\Users\jl82576\AppData\Local\atom\app-0.207.0\resources\app.asar\src\package.js:177:12)
PackageManager.loadPackage (C:\Users\jl82576\AppData\Local\atom\app-0.207.0\resources\app.asar\src\package-manager.js:372:14)