Big page refactor

This commit is contained in:
Zef Hemel
2022-02-26 13:26:31 +01:00
parent 3cf84af894
commit 03e1eb2353
19 changed files with 214 additions and 204 deletions
+7 -7
View File
@@ -1,16 +1,12 @@
{
"commands": {
"Count Words": {
"invoke": "word_count_command",
"requiredContext": {
"text": true
}
"invoke": "word_count_command"
},
"Navigate To page": {
"invoke": "link_navigate",
"key": "Ctrl-Enter",
"mac": "Cmd-Enter",
"requiredContext": {}
"mac": "Cmd-Enter"
},
"Insert Current Date": {
"invoke": "insert_nice_date",
@@ -28,12 +24,16 @@
}
},
"events": {
"ready": ["welcome"]
"app:ready": ["welcome"],
"page:click": ["click"]
},
"functions": {
"welcome": {
"path": "./welcome.ts"
},
"click": {
"path": "./click.ts"
},
"word_count_command": {
"path": "./word_count_command.ts:wordCount"
},