Skip to content

Commit

Permalink
renderer-script(html-write): Run asynchronously.
Browse files Browse the repository at this point in the history
  • Loading branch information
aadcg committed Jun 14, 2024
1 parent 78b6145 commit db977b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/renderer-script.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ If `setf'-d to a list of two values -- set Y to `first' and X to `second' elemen
Overwrites the whole HTML document (head and body elements included)."
;; Don't use document.write().
;; See https://developer.mozilla.org/en-US/docs/Web/API/Document/write.
(ps-eval :buffer buffer
(ps-eval :async t :buffer buffer
(setf (ps:chain document (get-elements-by-tag-name "html") 0 |innerHTML|)
(ps:lisp html-document))))

Expand Down

0 comments on commit db977b6

Please sign in to comment.