Changeset 287


Ignore:
Timestamp:
Aug 2, 2011, 3:27:21 PM (10 years ago)
Author:
david
Message:

-bug fix: compatibility between old and new version of libmozjs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/service_internal_js.c

    r277 r287  
    7272    return 1;
    7373  }
    74   JS_SetOptions(cx, JSOPTION_VAROBJFIX | JSOPTION_JIT | JSOPTION_METHODJIT);
     74  JS_SetOptions(cx, JSOPTION_VAROBJFIX | JSOPTION_JIT );//| JSOPTION_METHODJIT);
    7575  JS_SetVersion(cx, JSVERSION_LATEST);
    7676  JS_SetErrorReporter(cx, reportError);
    7777
    7878  /* Create the global object. */
    79   global = JS_NewCompartmentAndGlobalObject(cx, &global_class, NULL);
     79  //global = JS_NewCompartmentAndGlobalObject(cx, &global_class, NULL);
     80  global = JS_NewObject(cx, &global_class, NULL,NULL);
    8081
    8182  /* Populate the global object with the standard globals,
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png