Give JS access to the project dir so we can automate that shit.

This commit is contained in:
Corey Johnson
2011-11-29 15:22:14 -05:00
parent 98c10e9736
commit 1c985bd899
3 changed files with 6 additions and 6 deletions

View File

@@ -1,10 +1,5 @@
# Hack to get code reloading working in dev mode
if OSX.NSUserName().valueOf() == "corey"
resourcePath = "/Users/corey/code/mine/Atomicity"
else if OSX.NSUserName().valueOf() == "chris"
resourcePath = "/Users/chris/Code/Atomicity"
else
resourcePath = OSX.NSBundle.mainBundle.resourcePath
resourcePath = $atomController.projectPath ? OSX.NSBundle.mainBundle.resourcePath
paths = [
"#{resourcePath}/src/stdlib"