mirror of
https://github.com/atom/atom.git
synced 2026-02-12 15:45:23 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user