r9819 - helma-ng/trunk/modules

[email protected] Tue, 2 Jun 2009 20:29:08 +0200 (CEST)
Newsgroups gmane.comp.java.helma.cvs
Message-ID <20090602182908.E21623D0E3@mia>
Author: hannes
Date: 2009-06-02 20:29:08 +0200 (Tue, 02 Jun 2009)
New Revision: 9819

Modified:
   helma-ng/trunk/modules/helmaglobal.js
Log:
Update getResources() to use renamed findResources() method in RhinoEngine

Details at http://dev.helma.org/trac/helma/changeset/9819

Modified: helma-ng/trunk/modules/helmaglobal.js
===================================================================
--- helma-ng/trunk/modules/helmaglobal.js	2009-06-02 18:29:07 UTC (rev 9818)
+++ helma-ng/trunk/modules/helmaglobal.js	2009-06-02 18:29:08 UTC (rev 9819)
@@ -115,7 +115,7 @@
     Object.defineProperty(this, "getResources", {
         value: function(resourcePath, nested) {
             var engine = getRhinoEngine();
-            return new ScriptableList(engine.getResources(resourcePath, !!nested));
+            return new ScriptableList(engine.findResources(resourcePath, Boolean(nested)));
         }
     });