mirror of
https://github.com/atom/atom.git
synced 2026-02-08 05:35:04 -05:00
this is the first commit for the demo, it does not do much
This commit is contained in:
11
src/document.coffee
Normal file
11
src/document.coffee
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports =
|
||||
class Document
|
||||
@visibleDocument: null
|
||||
|
||||
@show: (document) ->
|
||||
|
||||
open: ->
|
||||
|
||||
close: ->
|
||||
|
||||
save: ->
|
||||
@@ -27,8 +27,6 @@ windowAdditions =
|
||||
|
||||
@path = $atomController.path
|
||||
@setTitle _.last @path.split '/'
|
||||
|
||||
$atomController.scan_select_compare(@path, null, null)
|
||||
|
||||
# Remember sizing!
|
||||
defaultFrame = x: 0, y: 0, width: 600, height: 800
|
||||
|
||||
Reference in New Issue
Block a user