automatically load extension/key-bindings.coffee

This commit is contained in:
Chris Wanstrath
2011-11-21 22:10:56 -08:00
parent 2ec6b8205b
commit e9bbc37547
10 changed files with 4 additions and 13 deletions

View File

@@ -16,6 +16,9 @@ class KeyBinder
register: (name, scope) ->
load: (path) ->
path = require.resolve path
return if not fs.isFile path
try
# Watcher.watch path, =>
# @load path