set VAROBJFIX even though its on by default MINOR

This commit is contained in:
Eliot Horowitz
2009-06-11 20:13:33 -04:00
parent 688b0dc3a3
commit 6d12b8bc22

View File

@@ -768,6 +768,8 @@ namespace mongo {
JS_SetGlobalObject( _context , _global );
massert( "js init failed" , JS_InitStandardClasses( _context , _global ) );
JS_SetOptions( _context , JS_GetOptions( _context ) | JSOPTION_VAROBJFIX );
JS_DefineFunctions( _context , _global , globalHelpers );
// install my special helpers