From fb3a9cdf3679d533e2dcaa9a9587317ea348dd29 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Sun, 12 Jul 2020 10:58:55 +0200 Subject: [PATCH] Rename action to operation --- src/JSONEditor.svelte | 2 +- src/JSONNode.svelte | 2 +- src/{actions.js => operations.js} | 27 +++++++++++++++------------ src/utils/immutableJSONPatch.js | 6 +++--- 4 files changed, 20 insertions(+), 17 deletions(-) rename src/{actions.js => operations.js} (91%) diff --git a/src/JSONEditor.svelte b/src/JSONEditor.svelte index cb88602..c899e4a 100644 --- a/src/JSONEditor.svelte +++ b/src/JSONEditor.svelte @@ -5,7 +5,7 @@ insertBefore, removeAll, replace - } from './actions.js' + } from './operations.js' import { DEFAULT_LIMIT, STATE_EXPANDED, diff --git a/src/JSONNode.svelte b/src/JSONNode.svelte index 325d8e1..39e86ae 100644 --- a/src/JSONNode.svelte +++ b/src/JSONNode.svelte @@ -1,6 +1,6 @@