update js

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3812 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-12-23 01:39:27 +00:00
parent acfe369ca4
commit fea601f454
1 changed files with 3 additions and 1 deletions

View File

@ -2258,7 +2258,9 @@ static int env_init(JSContext *cx, JSObject *javascript_object)
JS_DefineFunctions(cx, javascript_object, fs_functions); JS_DefineFunctions(cx, javascript_object, fs_functions);
JS_InitStandardClasses(cx, javascript_object); JS_InitStandardClasses(cx, javascript_object);
/* this doesnt load in standard classes figure out wtf */
js_InitFileClass(cx, javascript_object);
JS_InitClass(cx, JS_InitClass(cx,
javascript_object, javascript_object,