mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
fun
This commit is contained in:
@@ -46,9 +46,8 @@ Chrome =
|
||||
pb.setString_forType text, OSX.NSStringPboardType
|
||||
|
||||
openURL: (url) ->
|
||||
c = OSX.AtomWindowController.alloc.initWithURL url
|
||||
c.window
|
||||
c.window.makeKeyAndOrderFront null
|
||||
window.location = url
|
||||
Chrome.title _.last url.split '/'
|
||||
|
||||
# name - Command name, like "Find in file"
|
||||
# shortcut - String command name, e.g.
|
||||
|
||||
Reference in New Issue
Block a user