From 696e57a85a9f025a218292eb44f9604a40a729ca Mon Sep 17 00:00:00 2001 From: Alan Thompson Date: Mon, 20 Mar 2023 11:18:16 -0700 Subject: [PATCH] Update js-deps.adoc Clarify --- docs/js-deps.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/js-deps.adoc b/docs/js-deps.adoc index f570ec6..a8669b3 100644 --- a/docs/js-deps.adoc +++ b/docs/js-deps.adoc @@ -15,7 +15,7 @@ var react = require("react"); (:require ["react" :as react])) ``` -Whatever "string" parameter is used when calling require we transfer to the `:require` as-is. The `:as` alias is up to you. Once we have that we can use the code like any other CLJS namespace! +Whatever "string" parameter is used when calling `require()` we transfer to the `:require` as-is. The `:as` alias is up to you. Once we have that we can use the code like any other CLJS namespace! ``` (react/createElement "div" nil "hello world")