Update README.md

This commit is contained in:
Nicco 2018-02-21 12:47:25 +01:00 committed by GitHub
parent d1a7b2751c
commit 80c1a8127c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 7 deletions

View File

@ -50,7 +50,7 @@ npm i cometa
### Variable
```json
{myVar: "ok"}
{"myVar": "ok"}
```
```html
@ -75,7 +75,12 @@ True is everything that is different from:
- `''`
```json
{ myVar: 'something'|true|[1,2,3]|42|...}
{
"myVar": "something",
"myVar": true,
"myVar": [1,2,3],
"myVar": 42,
}
```
```html
@ -88,10 +93,10 @@ True is everything that is different from:
```json
{
links: [
{id:0, name: "One"},
{id:1, name: "Two"},
{id:2, name: "Three"}
"links": [
{"id":0, "name": "One"},
{"id":1, "name": "Two"},
{"id":2, "name": "Three"}
]
}
```
@ -102,4 +107,4 @@ True is everything that is different from:
<li id="{{link.id}}">{{ link.name }}</li>
{{/*}}
</ul>
```
```