mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Autoflow package is loaded using package.cson
This commit is contained in:
committed by
Corey Johnson & Kevin Sawicki
parent
6f05e66825
commit
23244de327
@@ -1,8 +1,5 @@
|
||||
AtomPackage = require 'atom-package'
|
||||
|
||||
module.exports =
|
||||
class Autoflow extends AtomPackage
|
||||
activate: (rootView) ->
|
||||
activate: ->
|
||||
rootView.command 'autoflow:reflow-paragraph', '.editor', (e) =>
|
||||
@reflowParagraph(e.currentTargetView())
|
||||
|
||||
1
src/packages/autoflow/package.cson
Normal file
1
src/packages/autoflow/package.cson
Normal file
@@ -0,0 +1 @@
|
||||
'main': 'autoflow'
|
||||
Reference in New Issue
Block a user