Skip to content

Commit 3b0543a

Browse files
authored
Color js code ^^
1 parent 1e41947 commit 3b0543a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

migration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ If you have been using this package in versions under 0.x, you have to update yo
66
The major change in v1 is the way to display modelated data and errors. Now, its an object with both properties.
77

88
So, just update the calls to modelate:
9-
```
9+
```javascript
1010
var Modelate = require('modelate');
1111

1212
var model = { ... };
@@ -16,7 +16,7 @@ var result = user.modelate(data);
1616

1717
```
1818
to
19-
```
19+
```javascript
2020
var result = user.modelate(data).data;
2121

2222
```

0 commit comments

Comments
 (0)