mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Async file finding works with with blocks
This commit is contained in:
@@ -22,8 +22,8 @@ class RootView extends Template
|
||||
viewProperties:
|
||||
initialize: ->
|
||||
|
||||
fs.async.list '/foo', (result) ->
|
||||
console.log(result.valueOf())
|
||||
fs.async.list '/Users/corey/code/mine/Atom', (result) ->
|
||||
console.log "Got #{result.length} results."
|
||||
|
||||
@bindKey 'meta+s', => @editor.save()
|
||||
@bindKey 'meta+w', => window.close()
|
||||
|
||||
Reference in New Issue
Block a user