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/Installation-Requirements.html | 6 +- .../html_node/LibreJS-Development-Notes.html | 117 +++++++++++++++++++++ .../html_node/Setting-Your-JavaScript-Free.html | 6 +- doc/manual/html_node/index.html | 14 ++- 4 files changed, 135 insertions(+), 8 deletions(-) create mode 100644 doc/manual/html_node/LibreJS-Development-Notes.html (limited to 'doc/manual/html_node') diff --git a/doc/manual/html_node/Installation-Requirements.html b/doc/manual/html_node/Installation-Requirements.html index 076c9e1..720d26b 100644 --- a/doc/manual/html_node/Installation-Requirements.html +++ b/doc/manual/html_node/Installation-Requirements.html @@ -26,7 +26,7 @@ Texts. A copy of the license is included in the section entitled - + + + + + + + +
+

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

+ + + + + + diff --git a/doc/manual/html_node/Setting-Your-JavaScript-Free.html b/doc/manual/html_node/Setting-Your-JavaScript-Free.html index 41e224c..04eb12d 100644 --- a/doc/manual/html_node/Setting-Your-JavaScript-Free.html +++ b/doc/manual/html_node/Setting-Your-JavaScript-Free.html @@ -25,7 +25,7 @@ Texts. A copy of the license is included in the section entitled - +