mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Every window has a path
This commit is contained in:
@@ -2,7 +2,7 @@ module.exports =
|
||||
class Native
|
||||
# path - Optional. The String path to the file to base it on.
|
||||
@newWindow: (path) ->
|
||||
controller = OSX.NSApp.createController
|
||||
controller = OSX.NSApp.createController path
|
||||
controller.window
|
||||
controller.window.makeKeyAndOrderFront null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user