From a8f80a02b88055cfcb45664ce3a3d24c2b2da98c Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sun, 10 Jul 2022 23:41:20 +1000 Subject: Update project-level and client-side documentation --- src/App.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/App.vue') diff --git a/src/App.vue b/src/App.vue index f26e1fb..4285f6a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -101,6 +101,9 @@ import {queryServer, InfoResponse, Action, UiOptions, getDefaultLytOpts, getDefaultUiOpts, OptionType} from './lib'; import {arraySum, randWeightedChoice, timeout} from './util'; +// Constants +const SERVER_WAIT_MSG = 'Loading data'; +const PROCESSING_WAIT_MSG = 'Processing'; // Type representing auto-mode actions type AutoAction = 'move across' | 'move down' | 'move up' | Action; // Function used in auto-mode to reduce action cycles @@ -117,9 +120,6 @@ function getReverseAction(action: AutoAction): AutoAction | null { return null; } } -// Constants -const SERVER_WAIT_MSG = 'Loading data'; -const PROCESSING_WAIT_MSG = 'Processing'; export default defineComponent({ data(){ -- cgit v1.2.3