mirror of
https://github.com/atom/atom.git
synced 2026-02-11 15:14:59 -05:00
Create bootstrap script for atom in single window mode
This commit is contained in:
3
src/single-window-bootstrap.coffee
Normal file
3
src/single-window-bootstrap.coffee
Normal file
@@ -0,0 +1,3 @@
|
||||
# Bootstrap the app in a single window mode
|
||||
require 'atom-bootstrap.coffee'
|
||||
require 'window-bootstrap.coffee'
|
||||
@@ -1,6 +1,4 @@
|
||||
# Like sands through the hourglass, so are the days of our lives.
|
||||
require 'window'
|
||||
Atom = require 'atom'
|
||||
window.atom = new Atom(atom.loadPath, $native)
|
||||
window.startup $pathToOpen
|
||||
|
||||
|
||||
Reference in New Issue
Block a user