Skip to content

Commit 2874ec2

Browse files
author
Tomas Kirda
committed
Merge pull request #187 from delizin/patch-1
Update readme.md
2 parents 52ad3d9 + c2d26fb commit 2874ec2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ Response from the server must be JSON formatted following JavaScript object:
119119

120120
{
121121
// Query is not required as of version 1.2.5
122-
query: "Unit",
123-
suggestions: [
124-
{ value: "United Arab Emirates", data: "AE" },
125-
{ value: "United Kingdom", data: "UK" },
126-
{ value: "United States", data: "US" }
122+
"query": "Unit",
123+
"suggestions": [
124+
{ "value": "United Arab Emirates", "data": "AE" },
125+
{ "value": "United Kingdom", "data": "UK" },
126+
{ "value": "United States", "data": "US" }
127127
]
128128
}
129129

@@ -132,8 +132,8 @@ and onSelect callback. Alternatively, if there is no data you can
132132
supply just a string array for suggestions:
133133

134134
{
135-
query: "Unit",
136-
suggestions: ["United Arab Emirates", "United Kingdom", "United States"]
135+
"query": "Unit",
136+
"suggestions": ["United Arab Emirates", "United Kingdom", "United States"]
137137
}
138138

139139
## Non standard query/results

0 commit comments

Comments
 (0)