From bb534c189eebb8a6343c82b133c2a3fd9c121339 Mon Sep 17 00:00:00 2001 From: Samantha Puth Date: Tue, 23 Apr 2024 16:41:04 -0700 Subject: [PATCH] Fix code sample for customDiffPatch > detectMove (#366) * Fix code sample for customDiffPatch > detectMove * Format --------- Co-authored-by: Nathan Bierema --- docs/arrays.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/arrays.md b/docs/arrays.md index cfa3c5f8..9549d8f3 100644 --- a/docs/arrays.md +++ b/docs/arrays.md @@ -48,11 +48,11 @@ This introduces a few benefits: moves are detected by default, you can turn move detection off with: ```javascript - var customDiffPatch = jsondiffpatch.create({ - arrays: { - detectMove: false - } - }; +var customDiffPatch = jsondiffpatch.create({ + arrays: { + detectMove: false, + }, +}); ``` ### Representation