Is it possible to use application/x-scittle with DocumentFragment #92
Replies: 5 comments 13 replies
-
|
@kangaroolab There was a PR here to make eval-script-tags receive varargs of Elements that are script tags. I think that should solve your problem? 06621b2 Side question: if you're using bootstrap cljs, why are you also using scittle? |
Beta Was this translation helpful? Give feedback.
-
|
is this part of version 0.6.19? I tested but it didn't seem working. it seems ignoring the additional parameter passed and keep reloading all the script with type='application/x-scittle' |
Beta Was this translation helpful? Give feedback.
-
|
thanks both of you. when can we expect the next release? i am happy to test it when it is available |
Beta Was this translation helpful? Give feedback.
-
|
thanks...tested and it works as expected. |
Beta Was this translation helpful? Give feedback.
-
|
I put together a local first web app at https://kangaroolab.github.io/tippy/, which uses scittle to enable notebook experience and it can also be used to extend/customize the app itself. you can try demo.json at https://github.com/kangaroolab/tippy (see readme) in the app. would love to get your thought/feedback. I have been using it for programming with clojurescript and some other note taking for myself |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in the scenario where I have a bootstrap clojurescript within index.html as application/x-scittle, which load other cljs files to run, e.g.:
Is it possible to use application/x-scittle with DocumentFragment instead of document so the bootstrap itself doesn't get run by scittle eval_script_tag?
e.g. could it be sth like
(-> js/scittle .-core (.eval_script_tags ADocFragment))basically if no parameter provided, eval_script_tags will default to document
Beta Was this translation helpful? Give feedback.
All reactions