0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Add comments

This commit is contained in:
Florian Schroedl 2024-06-21 19:41:04 +02:00
parent 59780a9d4d
commit 5f25bd8a7b

View file

@ -32,7 +32,11 @@
(comment
(find-token-references "{foo} + {bar}")
(find-token-references "nothing")
;; => #{"foo" "bar"}
(find-token-references "{foo.bar.baz} + something")
;; => #{"foo.bar.baz"}
(find-token-references "1 + 2")
;; => nil
nil)
(defn token-self-reference? [token-name reference-string]