Spaces between methods and properties. 💄

This commit is contained in:
Corey Johnson
2011-11-10 15:06:11 -08:00
parent 444aa3f6cd
commit c47de309e3

View File

@@ -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: ->