From 5fa400c86ac68eacc2aa278a31dd27babe6404c4 Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Thu, 9 Jan 2014 15:38:16 +0100 Subject: [PATCH] Fix line break --- .gitignore | 1 + src/cloact/core.cljs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 556f930..17065e8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ target pom.xml .lein-repl-history pom.xml.asc +.nrepl-port diff --git a/src/cloact/core.cljs b/src/cloact/core.cljs index 08ecbac..5c3da04 100644 --- a/src/cloact/core.cljs +++ b/src/cloact/core.cljs @@ -12,7 +12,9 @@ (def is-client tmpl/isClient) (defn render-component - "Render a Cloact component into the DOM. The first argument may be either a vector (using Cloact's Hiccup syntax), or a React component. The second argument should be a DOM node. + "Render a Cloact component into the DOM. The first argument may be either a +vector (using Cloact's Hiccup syntax), or a React component. The second argument +should be a DOM node. Optionally takes a callback that is called when the component is in place.