File tree Expand file tree Collapse file tree 6 files changed +212
-210
lines changed Expand file tree Collapse file tree 6 files changed +212
-210
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ jobs:
19
19
20
20
- uses : supplypike/setup-bin@v3
21
21
with :
22
- uri : ' https://github.com/calcit-lang/calcit/releases/download/0.7.0-a7 /cr'
22
+ uri : ' https://github.com/calcit-lang/calcit/releases/download/0.7.5 /cr'
23
23
name : ' cr'
24
- version : ' 0.7.0-a7 '
24
+ version : ' 0.7.5 '
25
25
26
26
- uses : supplypike/setup-bin@v3
27
27
with :
28
- uri : ' https://github.com/calcit-lang/calcit/releases/download/0.7.0-a7 /caps'
28
+ uri : ' https://github.com/calcit-lang/calcit/releases/download/0.7.5 /caps'
29
29
name : ' caps'
30
- version : ' 0.7.0-a7 '
30
+ version : ' 0.7.5 '
31
31
32
32
- name : " compiles to js"
33
33
run : >
Original file line number Diff line number Diff line change 345
345
|*reel $ quote
346
346
defatom *reel $ -> reel-schema/reel ( assoc :base schema/store ) ( assoc :store schema/store )
347
347
|dispatch! $ quote
348
- defn dispatch! ( op op-data )
349
- when
350
- and config/dev? $ not= op :states
351
- println "\" Dispatch:" op
352
- reset! *reel $ reel-updater updater @*reel op op-data
348
+ defn dispatch! ( op )
349
+ when config/dev? $ println "\" Dispatch:" op
350
+ reset! *reel $ reel-updater updater @*reel op
353
351
|main! $ quote
354
352
defn main! () ( config/register-languages! )
355
353
println "\" Running mode:" $ if config/dev? "\" dev" "\" release"
362
360
; let
363
361
raw $ js/localStorage.getItem ( :storage-key config/site )
364
362
when ( some? raw )
365
- dispatch! : hydrate-storage $ parse-cirru-edn raw
363
+ dispatch! $ :: : hydrate-storage ( parse-cirru-edn raw )
366
364
println "|App started."
367
365
|mount-target $ quote
368
366
def mount-target $ .!querySelector js/document |.app
424
422
|docs-workflow.updater $ {}
425
423
:defs $ {}
426
424
|updater $ quote
427
- defn updater ( store op data op-id op-time )
428
- case-default op
429
- do ( println "\" unknown op:" op ) store
430
- :states $ update-states store data
431
- :hydrate-storage data
425
+ defn updater ( store op op-id op-time )
426
+ tag-match op
427
+ :states cursor s
428
+ update-states store cursor s
429
+ ( :hydrate-storage d ) d
430
+ _ $ do ( eprintln "\" unknown op:" op ) store
432
431
:ns $ quote
433
432
ns docs-workflow.updater $ :require
434
433
respo.cursor :refer $ update-states
Original file line number Diff line number Diff line change 2
2
"version" : " 0.0.15" ,
3
3
"name" : " @calcit/docs-workflow" ,
4
4
"dependencies" : {
5
- "@calcit/procs" : " ^0.7.0-a7 "
5
+ "@calcit/procs" : " ^0.7.5 "
6
6
},
7
7
"devDependencies" : {
8
8
"bottom-tip" : " ^0.1.5" ,
9
9
"cirru-color" : " ^0.2.3" ,
10
10
"github-markdown-css" : " ^5.2.0" ,
11
11
"highlight.js" : " ^11.8.0" ,
12
12
"remarkable" : " ^2.0.1" ,
13
- "vite" : " ^4.3.9 "
13
+ "vite" : " ^4.4.6 "
14
14
}
15
15
}
You can’t perform that action at this time.
0 commit comments