require.resolve none of the things

This commit is contained in:
Chris Wanstrath
2011-11-06 14:39:20 -08:00
parent a61e1c1c2a
commit b1376854a7

View File

@@ -58,11 +58,11 @@ windowAdditions =
loadKeyBindings: ->
KeyBinder.load "#{@appRoot}/static/key-bindings.coffee"
if fs.isFile require.resolve "~/.atomicity/key-bindings.coffee"
if fs.isFile "~/.atomicity/key-bindings.coffee"
KeyBinder.load "~/.atomicity/key-bindings.coffee"
loadSettings: ->
if fs.isFile require.resolve "~/.atomicity/settings.coffee"
if fs.isFile "~/.atomicity/settings.coffee"
require "~/.atomicity/settings.coffee"
showConsole: ->