diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-07-10 23:41:20 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-07-10 23:41:20 +1000 |
| commit | a8f80a02b88055cfcb45664ce3a3d24c2b2da98c (patch) | |
| tree | 021072aa131b2e141978e0223f6e37dfcb1cf1cd /src/App.vue | |
| parent | f0df00add356c0ee4cc8743a9ceeb276ae207715 (diff) | |
Update project-level and client-side documentation
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 6 |
1 files changed, 3 insertions, 3 deletions
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(){ |
