mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
Add comments
This commit is contained in:
parent
59780a9d4d
commit
5f25bd8a7b
1 changed files with 5 additions and 1 deletions
|
@ -32,7 +32,11 @@
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
(find-token-references "{foo} + {bar}")
|
(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)
|
nil)
|
||||||
|
|
||||||
(defn token-self-reference? [token-name reference-string]
|
(defn token-self-reference? [token-name reference-string]
|
||||||
|
|
Loading…
Reference in a new issue