You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
A type of global libraryPath that will link pages libraryPath's with the main phantom libraryPath.
Current ideas:
1
"It seems as if libraryPath should be global. If I change libraryPath
using phantom.libraryPath, then use page.injectJs, I'd expect it to
just work from the libraryPath I set in phantom.libraryPath.
I can see in some usecases that having a separate page.libraryPath
could be useful. If so, then we could go for a hybrid approach then,
searching phantom.libraryPath first, then the page.libraryPath. This
is probably the best approach in my opinion."
2
"As for path priority, I think it might be better to search from smallest to largest scope (i.e., page first, then phantom), so that it may be overridden.
I can imagine an approach similar to "export PATH" in .bashrc where we just copy the phantom library path when a new page is created. The page could then do what it would after that (as in a terminal session)."
Something similar to ideas expressed in #2 sound ideal, which would be a hybrid approach utilizing the phantom.libraryPath and page.libraryPath.
This is related to issue 152 (CommonJS modules) and issue 198 (multiple libraryPaths)
Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #199.
🌟 2 people had starred this issue at the time of migration.
The text was updated successfully, but these errors were encountered:
Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be closed. In the future, if we see the need to attend to this issue again, then it will be reopened.
Thank you for your contribution!
roejame...@gmail.com commented:
Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #199.
🌟 2 people had starred this issue at the time of migration.
The text was updated successfully, but these errors were encountered: