Async file finding works with with blocks

This commit is contained in:
Corey Johnson
2012-01-03 11:11:11 -08:00
parent b3a7e1e097
commit d076b1a48c
2 changed files with 14 additions and 20 deletions

View File

@@ -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()