mirror of
https://github.com/penpot/penpot.git
synced 2026-03-09 11:45:40 +00:00
🔥 Remove unused API from tokens-lib
Removes the protocol method: `get-set-prefixed-path-string`
This commit is contained in:
@@ -327,8 +327,7 @@
|
||||
(update-token [_ token-name f] "update a token in the list")
|
||||
(delete-token [_ token-name] "delete a token from the list")
|
||||
(get-token [_ token-name] "return token by token-name")
|
||||
(get-tokens [_] "return an ordered sequence of all tokens in the set")
|
||||
(get-set-prefixed-path-string [_] "convert set name to prefixed full path string"))
|
||||
(get-tokens [_] "return an ordered sequence of all tokens in the set"))
|
||||
|
||||
(defrecord TokenSet [name description modified-at tokens]
|
||||
ITokenSet
|
||||
@@ -372,11 +371,7 @@
|
||||
(get tokens token-name))
|
||||
|
||||
(get-tokens [_]
|
||||
(vals tokens))
|
||||
|
||||
(get-set-prefixed-path-string [_]
|
||||
(-> (set-name->prefixed-full-path name)
|
||||
(join-set-path))))
|
||||
(vals tokens)))
|
||||
|
||||
(defn token-set?
|
||||
[o]
|
||||
|
||||
Reference in New Issue
Block a user