mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Spaces between methods and properties. 💄
This commit is contained in:
@@ -6,13 +6,16 @@ Pane = require 'pane'
|
||||
module.exports =
|
||||
class Document extends Pane
|
||||
position: "main"
|
||||
|
||||
path: null
|
||||
|
||||
@handlers: {}
|
||||
|
||||
@handler: (path) ->
|
||||
for name, {test, handler} of Document.handlers
|
||||
return handler if test path
|
||||
null
|
||||
|
||||
@register: (test) ->
|
||||
Document.handlers[@name] = {test, handler: this}
|
||||
|
||||
@@ -21,5 +24,7 @@ class Document extends Pane
|
||||
atom.trigger 'document:load', this
|
||||
|
||||
open: ->
|
||||
|
||||
close: ->
|
||||
|
||||
save: ->
|
||||
|
||||
Reference in New Issue
Block a user