Hi all,
Conkeror in our git repository is now version 0.9.2. The tick up in
version number marks the merging of a new module system which provides the
capability for modules to have their own namespace, while still being
backward-compatible with existing modules, given the changes listed below:
* call_after_load now takes a feature name as its first argument instead
of a file name. If you use this function in your rc, just trim the
".js" off. For example, "call_after_load('buffer.js', ...)" should now
be: "call_after_load('buffer', ...)"
* old module code which needs to be loaded into conkeror's global scope
must have as its first expression: in_module(null); This change does
not affect your rc, only modules.
* Modules should have as their last expression: provide("feature"); where
"feature" is a symbolic name for the feature provided by the module.
This should generally be the same as the file name, without any
extension. This change also does not affect your rc, only modules.
Preliminary documentation on the module system can be found here:
http://jjfoerch.com/bitbucket/new-module-system.sp but I will also be
working on documenting this on the wiki in the coming days.
Thanks!
--
John Foerch
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror