Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
raystubbs committed May 9, 2024
1 parent 1c84ef4 commit 9799303
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/zero/component.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Implements web components. Require this ns to enable them.
(defonce ^:private internals-fields-index
(dom/class->fields-index js/ElementInternals))

(defn patch-listeners [^js/Node dom ^js/ShadowRoot root listener-diff-map]
(defn- patch-listeners [^js/Node dom ^js/ShadowRoot root listener-diff-map]
(doseq [[k [old-val new-val]] listener-diff-map]
(when (some? old-val)
(let [old-listen-key [old-val dom k]]
Expand Down Expand Up @@ -617,7 +617,7 @@ Implements web components. Require this ns to enable them.
(init-props instance)
(request-render instance))))

(defonce !render-order-seq (atom 0))
(defonce ^:private !render-order-seq (atom 0))

(defn- update-component [component-name {:keys [props view focus] :as things}]
(let [el-name (kw->el-name component-name)]
Expand Down
2 changes: 1 addition & 1 deletion src/zero/html.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Write Zero markup to a writer as HTML.
"
{:arglists
'[[w & markup]
[w & {:keys [doctype]} & markup]]}
[w {:keys [doctype]} & markup]]}
[w & args]
(let [[opts markup] (if (map? (first args)) [(first args) (rest args)] [{} args])]
(when-let [doctype (:doctype opts)]
Expand Down

0 comments on commit 9799303

Please sign in to comment.