File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/org/ironchefpython/modapi
test/org/ironchefpython/rhinodemo Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ public enum Primitive implements DynamicProperty {
18
18
COLOR (String .class ),
19
19
FUNCTION (Callable .class ),
20
20
TEXTURE (String .class ),
21
+ DOUBLE (double .class ),
21
22
;
22
23
23
24
private final Class <?> type ;
Original file line number Diff line number Diff line change 3
3
import java .io .IOException ;
4
4
5
5
import org .ironchefpython .modapi .JsModManager ;
6
+ import org .ironchefpython .modapi .ModRegistry ;
6
7
import org .junit .Test ;
7
8
8
9
@@ -16,8 +17,8 @@ public static void main(String[] args) throws IOException {
16
17
public void mockTest () throws IOException {
17
18
18
19
19
-
20
- JsModManager mm = new JsModManager ("test" );
20
+ ModRegistry registry = new ModRegistry ();
21
+ JsModManager mm = new JsModManager (registry , "test" );
21
22
22
23
mm .runScript (ModTest .class .getResourceAsStream ("testmod.js" ), "testmod.js" );
23
24
You can’t perform that action at this time.
0 commit comments