From 6ebaecccafbca464ee366d45fd15a0df13509849 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 1 Jan 2012 21:42:38 +0000 Subject: Totaly prefunctry binding to spidermonkey svn path=/trunk/netsurf/; revision=13360 --- desktop/netsurf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'desktop/netsurf.c') 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")); -- cgit v1.2.3