Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-rhino
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bf0ee5ae
authored
2014-06-23 12:59:10 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
The incoming data and extraOptions in validateWithBackbone are
effectively read-only.
1 parent
b13b51fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/com/brainfood/rhino/Require.java
src/com/brainfood/rhino/Require.java
View file @
bf0ee5a
...
...
@@ -55,7 +55,7 @@ public class Require {
});
}
public
Map
<
String
,
Object
>
validateWithBackbone
(
String
moduleId
,
String
preInitEval
,
Map
<
String
,
Object
>
data
,
Map
<
String
,
Object
>
extraOptions
)
throws
Exception
{
public
Map
<
String
,
Object
>
validateWithBackbone
(
String
moduleId
,
String
preInitEval
,
Map
<
String
,
?
extends
Object
>
data
,
Map
<
String
,
?
extends
Object
>
extraOptions
)
throws
Exception
{
Function
modelClass
=
require
(
moduleId
);
Scriptable
modelInstance
=
container
.
newObject
(
modelClass
);
container
.
eval
(
loader
,
preInitEval
,
modelInstance
);
...
...
Please
register
or
sign in
to post a comment