mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Give JS access to the project dir so we can automate that shit.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user