change to :simple otimization
This commit is contained in:
parent
cf843793c2
commit
0ae50e7673
1 changed files with 8 additions and 1 deletions
|
|
@ -26,4 +26,11 @@
|
||||||
:depends-on #{:scittle}}}
|
:depends-on #{:scittle}}}
|
||||||
:build-hooks [(shadow.cljs.build-report/hook)]
|
:build-hooks [(shadow.cljs.build-report/hook)]
|
||||||
:output-dir "resources/public/js"
|
:output-dir "resources/public/js"
|
||||||
:devtools {:repl-pprint true}}}}
|
:devtools {:repl-pprint true}
|
||||||
|
:compiler-options {:optimizations :simple}}}}
|
||||||
|
|
||||||
|
;; simple optimization because sablono.interpreter line 22
|
||||||
|
;; cljs: (.setState component next-state)
|
||||||
|
;; simple: a.setState(f)
|
||||||
|
;; advanced: a.Ci(f)
|
||||||
|
;; and this Ci throws a "not defined" error
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue