From dae22597bd81d0d96370738010cac775bf31afea Mon Sep 17 00:00:00 2001 From: Nik Nyby Date: Thu, 22 Oct 2015 20:50:29 -0400 Subject: update manual with librejs development notes --- .../html_node/LibreJS-Development-Notes.html | 117 +++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 doc/manual/html_node/LibreJS-Development-Notes.html (limited to 'doc/manual/html_node/LibreJS-Development-Notes.html') diff --git a/doc/manual/html_node/LibreJS-Development-Notes.html b/doc/manual/html_node/LibreJS-Development-Notes.html new file mode 100644 index 0000000..f05e766 --- /dev/null +++ b/doc/manual/html_node/LibreJS-Development-Notes.html @@ -0,0 +1,117 @@ + + + + + +GNU LibreJS 6.0.10.20151023: LibreJS Development Notes + + + + + + + + + + + + + + + + + + + +
+

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

+
+
+ +

8 LibreJS Development Notes

+ + +

8.1 Running LibreJS from the source directory

+

Download Mozilla’s Add-on SDK, then do something like this in the LibreJS +directory: +

+
+
cfx run -b `which icecat`
+
+ + +

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. +

+ + + + + + -- cgit v1.2.3