]> arthur.barton.de Git - atom-ax-pipe.git/blobdiff - lib/pipe.coffee
updated selectors and editor to work with latest Atom API
[atom-ax-pipe.git] / lib / pipe.coffee
index 3781a56ee719479af896dd1939568251a6478967..97ada8a8b67092cfa294a493be4fdc635a32694f 100644 (file)
@@ -6,7 +6,7 @@ history = []
 
 module.exports =
   activate: ->
-    atom.workspaceView.command 'pipe:run', => @run()
+    atom.commands.add 'atom-workspace', "pipe:run", => @run()
 
   run: ->
     editor = atom.workspace.getActiveEditor()