issue67: Multiple module prefix paths for require()

Priority: wish Status: resolved
Messages
msg100 (view) Author: nicktastic Date: 2008-10-14.13:44:47
Requested by areinwrath to support something like a conkeror/site-js for local system scripts. Seems like
a good idea to me.

It is easy enough to make application.module_uri_prefix a list of prefixes, but now we need module name
conflict resolution. It would probably be useful to use emacs' behavior as a starting point.

The current practice of tracking modules purely by module name (rather than by full module path) will
probably need to change.
msg102 (view) Author: jbms Date: 2008-10-15.01:14:58
When I introduced the module loading system, I expected that something like the Emacs load-path would be
implemented eventually.  The one thing that I haven't looked into is how to easily check if a chrome URL
is present.  Maybe the solution is just to try loading from each successive path, and look at the
exception generated to see if it is due to the file not being present.
msg107 (view) Author: jbms Date: 2008-10-15.02:03:33
Fixed.  See the new user variable load_paths.
History
Date User Action Args
2008-10-15 02:03:34jbmssetstatus: chatting -> resolved
messages: + msg107
2008-10-15 01:14:58jbmssetstatus: unread -> chatting
messages: + msg102
2008-10-14 13:44:47nicktasticcreate