mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c0260ef7cc
This patch allows a JS module to import another one with a relative path. For instance, if you have a set of modules you want to drop-in in any extension, and these modules depend on each other, you can import XPCOMUtils and then do XPCOMUtils.importRelative(this, "otherfile.jsm"). |
||
---|---|---|
.. | ||
subdir | ||
file.txt | ||
import_module.jsm | ||
import_sub_module.jsm | ||
load_subscript.js | ||
location_load.js | ||
test_execute_soon.js | ||
test_get_file.js | ||
test_get_idle.js | ||
test_import_module.js | ||
test_load_httpd_js.js | ||
test_load.js | ||
test_location.js | ||
test_profile.js | ||
test_sample.js |