Commit b351c2d
committed
Let the bindings accept the current ScriptModule instance
We recently improved the Scripting engine to accomodate the needs of
the ImageJ 1.x macro engine with regards to @parameter annotations.
The major change was that the current ScriptModule instance is made
available to the engine bindings.
However, the Java script engine is a slightly different beast and
needs to make sure that no unexpected bindings are set (because they
cannot be used by the 'script').
Let's play nice and just ignore the binding.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 373a04f commit b351c2d
File tree
1 file changed
+4
-1
lines changed- src/main/java/org/scijava/plugins/scripting/java
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
88 | | - | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
0 commit comments