diff --git a/README.md b/README.md index c3f9712..1fb6551 100644 --- a/README.md +++ b/README.md @@ -144,9 +144,9 @@ The serialised JSON for the example above would be: $('.dd').nestable('toArray'); ``` Builds an array where each element looks like: -```json +```js { - 'depth': depth', + 'depth': depth, 'id': id, 'left': left, 'parent_id': parentId || null,