mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
automatically load extension/key-bindings.coffee
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user