From 80c1a8127c5f3c2838bb8caeb69b158843212778 Mon Sep 17 00:00:00 2001 From: Nicco Date: Wed, 21 Feb 2018 12:47:25 +0100 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1bfa613..5239e76 100644 --- a/README.md +++ b/README.md @@ -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:
  • {{ link.name }}
  • {{/*}} -``` \ No newline at end of file +```