From fea601f454908bc71ce519fc731bd81a379c5a84 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 23 Dec 2006 01:39:27 +0000 Subject: [PATCH] update js git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3812 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_spidermonkey/mod_spidermonkey.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c index 86877d210a..8d612103a6 100644 --- a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c +++ b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c @@ -2258,7 +2258,9 @@ static int env_init(JSContext *cx, JSObject *javascript_object) JS_DefineFunctions(cx, javascript_object, fs_functions); JS_InitStandardClasses(cx, javascript_object); - + + /* this doesnt load in standard classes figure out wtf */ + js_InitFileClass(cx, javascript_object); JS_InitClass(cx, javascript_object,