Skip to content

Commit 3002d35

Browse files
committed
readme mistake
1 parent 1aef904 commit 3002d35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var Member2Female = {
4646
return [d];
4747
}
4848
}
49-
49+
```
5050

5151
Launching the transformation is made by creating a new Transformation then by adding the rules it contains.
5252
```javascript
@@ -55,10 +55,12 @@ transformation.addRule(Member2FeMale);
5555
transformation.addRule(Member2Male);
5656
```
5757

58+
5859
Execution of transformation rule is made using the apply function on a transformation. The parameters
5960
are the input Model and output model (as defined in JSMF).
6061
```javascript
6162
transformation.apply(M.ma, M.mb);
63+
6264
```
6365

6466
You can find examples, discover the other components and test it online with Tonic on JSMF github website (https://js-mf.github.io/#portfolio)

0 commit comments

Comments
 (0)