0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

Add interop ns for tricky js interop calls.

This commit is contained in:
Andrey Antukh 2016-05-24 19:04:14 +03:00
parent 139ee821b7
commit 4b0c8cec07
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -0,0 +1,13 @@
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016 Andrey Antukh <niwi@niwi.nz>
(ns uxbox.util.interop
"Interop helpers.")
(defn iterable->seq
"Convert an es6 iterable into cljs Seq."
[v]
(seq (js/Array.from v)))