r9849 - helma/helma/trunk/src/helma/scripting/rhino
[email protected] Wed, 12 Aug 2009 13:02:07 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090812110207.281583D0E3@mia> |
Author: lehni
Date: 2009-08-12 13:02:06 +0200 (Wed, 12 Aug 2009)
New Revision: 9849
Modified:
helma/helma/trunk/src/helma/scripting/rhino/PathWrapper.java
Log:
Removed READONLY attribute from path.href and path.contains functions.
Details at http://dev.helma.org/trac/helma/changeset/9849
Modified: helma/helma/trunk/src/helma/scripting/rhino/PathWrapper.java
===================================================================
--- helma/helma/trunk/src/helma/scripting/rhino/PathWrapper.java 2009-08-10 14:28:10 UTC (rev 9848)
+++ helma/helma/trunk/src/helma/scripting/rhino/PathWrapper.java 2009-08-12 11:02:06 UTC (rev 9849)
@@ -41,12 +41,11 @@
this.path = new RequestPath(core.app);
// initialize properties and functions
- int attributes = DONTENUM | READONLY | PERMANENT;
setParentScope(core.getScope());
setPrototype(null);
- defineProperty("length", PathWrapper.class, attributes);
+ defineProperty("length", PathWrapper.class, DONTENUM | READONLY | PERMANENT);
defineFunctionProperties(new String[] {"href", "contains"},
- PathWrapper.class, attributes);
+ PathWrapper.class, DONTENUM | PERMANENT);
}
/**