refactor editor and browser

This commit is contained in:
Chris Wanstrath
2011-11-09 21:25:05 -08:00
parent d0f47c0d58
commit 1b8f48659a
5 changed files with 53 additions and 117 deletions

View File

@@ -21,9 +21,10 @@ class KeyBinder
load: (path) ->
try
Watcher.watch path, =>
# Should we keep track of which file bindings are associated with? That
# way we could clear bindings when the file is changed or deleted. I
# think the answer is yes, but I don't want to do this right now.
# Should we keep track of which file bindings are associated with?
# That way we could clear bindings when the file is changed
# or deleted. I think the answer is yes, but I don't want to
# do this right now.
console.log "#{@name}: Reloading #{path}"
@load path