From 48fd4391b61c94b4b16de0edd112bb9151cff391 Mon Sep 17 00:00:00 2001 From: Marek Skiba Date: Tue, 23 May 2017 00:11:30 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,