From c68e668a73cc534ecfdc71d6314abc3af911657e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Nuno=20Monteiro?= Date: Thu, 29 Jun 2017 12:01:25 -0700 Subject: [PATCH] Add [tag props] arity to `om.dom/create-element` --- src/main/om/dom.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/om/dom.cljs b/src/main/om/dom.cljs index 9e597c32..05e61170 100644 --- a/src/main/om/dom.cljs +++ b/src/main/om/dom.cljs @@ -71,5 +71,7 @@ to calling `js/React.createElement`" ([tag] (create-element tag nil)) + ([tag opts] + (js/React.createElement tag opts)) ([tag opts & children] (js/React.createElement tag opts children)))