r9633 - helma-ng/trunk/modules/helma
[email protected] Tue, 21 Apr 2009 10:37:50 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090421083750.F00433D0D6@mia> |
Author: hannes
Date: 2009-04-21 10:37:50 +0200 (Tue, 21 Apr 2009)
New Revision: 9633
Modified:
helma-ng/trunk/modules/helma/system.js
Log:
Minor cosmetic change
Details at http://dev.helma.org/trac/helma/changeset/9633
Modified: helma-ng/trunk/modules/helma/system.js
===================================================================
--- helma-ng/trunk/modules/helma/system.js 2009-04-20 16:31:15 UTC (rev 9632)
+++ helma-ng/trunk/modules/helma/system.js 2009-04-21 08:37:50 UTC (rev 9633)
@@ -3,7 +3,6 @@
*/
require('core/object');
-import('helma/logging');
export('addHostObject',
'addRepository',
@@ -17,8 +16,7 @@
'setOptimizationLevel',
'args');
-var log = helma.logging.getLogger(__name__);
-var omj = org.mozilla.javascript;
+var rhino = org.mozilla.javascript;
// mark this module as shared between all requests
var __shared__ = true;
@@ -39,8 +37,8 @@
*/
function createSandbox(modulePath, globals, shutter, sealed) {
if (shutter) {
- if (!(shutter instanceof omj.ClassShutter)) {
- shutter = new omj.ClassShutter(shutter);
+ if (!(shutter instanceof rhino.ClassShutter)) {
+ shutter = new rhino.ClassShutter(shutter);
}
} else {
shutter = null;
@@ -104,7 +102,7 @@
* Get the org.mozilla.javascript.Context associated with the current thread.
*/
function getRhinoContext() {
- return omj.Context.getCurrentContext();
+ return rhino.Context.getCurrentContext();
}
/**