Next: , Previous: , Up: Top   [Contents]


8 LibreJS Development Notes

8.1 Running LibreJS from the source directory

Download jpm, then do something like this in the LibreJS directory:

jpm run -b `which abrowser`

8.2 Debugging

Uncomment lines 22 and 23 in lib/main.js to enable printing of console.debug() statements.

8.3 Adding new whitelisted libraries

Run the data/script_libraries/gethash.sh script, using the URL to a JavaScript file as the argument, then add the output of that command to data/script_libraries/script-libraries.json.

8.4 Releasing a new version

Update the version number in:

Then run ‘make info’ to build the docs with gendocs.sh.