diff options
Diffstat (limited to 'src/dompa/html.cljc')
| -rw-r--r-- | src/dompa/html.cljc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dompa/html.cljc b/src/dompa/html.cljc index 6268fa0..cea7b69 100644 --- a/src/dompa/html.cljc +++ b/src/dompa/html.cljc @@ -6,12 +6,14 @@ "Transform a `html` string into a vector of coordinates indicating where an HTML node ends and begins." [html] - (->> coordinates/compose - (coordinates/unify html))) + (->> html + coordinates/compose + coordinates/unify)) (defn ->nodes "Transform a `html` string into a tree of nodes, each representing one HTML node and its children." [html] - (->> (->coordinates html) - (coordinates/->nodes html)))
\ No newline at end of file + (-> html + ->coordinates + coordinates/->nodes))
\ No newline at end of file |
