/static dir can be loaded by require now.

This commit is contained in:
Corey Johnson
2011-11-09 13:59:17 -08:00
parent 70c8707064
commit eb5e5b8258
2 changed files with 2 additions and 1 deletions

View File

@@ -80,7 +80,7 @@ windowAdditions =
Event.trigger 'extensions:loaded'
loadKeyBindings: ->
KeyBinder.load "#{@appRoot}/static/key-bindings.coffee"
KeyBinder.load require.resolve "key-bindings.coffee"
if fs.isFile "~/.atomicity/key-bindings.coffee"
KeyBinder.load "~/.atomicity/key-bindings.coffee"