summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-01-01 21:42:38 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-01-01 21:42:38 +0000
commit6ebaecccafbca464ee366d45fd15a0df13509849 (patch)
treec5aa49a34ab8412a04a1099b7b2740166225806b /desktop/netsurf.c
parenta195728c51a34e68b4361cb685d3e20acbbecbe0 (diff)
downloadnetsurf-6ebaecccafbca464ee366d45fd15a0df13509849.tar.gz
netsurf-6ebaecccafbca464ee366d45fd15a0df13509849.tar.bz2
Totaly prefunctry binding to spidermonkey
svn path=/trunk/netsurf/; revision=13360
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index 8fa02255f..698606da1 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -46,6 +46,7 @@
#include "desktop/gui.h"
#include "desktop/options.h"
#include "desktop/searchweb.h"
+#include "desktop/js.h"
#include "render/html.h"
#include "render/textplain.h"
#include "utils/log.h"
@@ -229,6 +230,8 @@ nserror netsurf_init(int *pargc,
options_commandline(pargc, *pargv);
+ js_initialise();
+
return ret;
}
@@ -252,6 +255,8 @@ int netsurf_main_loop(void)
void netsurf_exit(void)
{
+ js_finalise();
+
hlcache_stop();
LOG(("Closing GUI"));