Move atom.resourcePath to window.resourcePath

The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
This commit is contained in:
Corey Johnson & Nathan Sobo
2012-09-05 12:52:11 -07:00
parent 949abdcd19
commit 85c37fd652
9 changed files with 47 additions and 43 deletions

View File

@@ -1,15 +1,15 @@
paths = [
"#{atom.resourcePath}/spec"
"#{atom.resourcePath}/benchmark"
"#{atom.resourcePath}/src/stdlib"
"#{atom.resourcePath}/src/app"
"#{atom.resourcePath}/src/extensions"
"#{atom.resourcePath}/src"
"#{atom.resourcePath}/vendor"
"#{atom.resourcePath}/static"
"#{atom.resourcePath}/bundles"
"#{atom.resourcePath}/themes"
"#{atom.resourcePath}"
"#{window.resourcePath}/spec"
"#{window.resourcePath}/benchmark"
"#{window.resourcePath}/src/stdlib"
"#{window.resourcePath}/src/app"
"#{window.resourcePath}/src/extensions"
"#{window.resourcePath}/src"
"#{window.resourcePath}/vendor"
"#{window.resourcePath}/static"
"#{window.resourcePath}/bundles"
"#{window.resourcePath}/themes"
"#{window.resourcePath}"
]
window.__filename = null