mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
/static dir can be loaded by require now.
This commit is contained in:
@@ -7,6 +7,7 @@ else
|
||||
resourcePath = OSX.NSBundle.mainBundle.resourcePath
|
||||
|
||||
paths = [
|
||||
"#{resourcePath}/static"
|
||||
"#{resourcePath}/src"
|
||||
"#{resourcePath}/extensions"
|
||||
"#{resourcePath}/vendor"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user