mirror of
https://github.com/metosin/reitit.git
synced 2026-02-05 03:43:12 +00:00
Remove unused internal ‘goog-extend’ function
This commit is contained in:
parent
93e288bf34
commit
fce79e903b
1 changed files with 0 additions and 12 deletions
|
|
@ -252,15 +252,3 @@
|
||||||
(str/join "&" (map query-parameter (repeat k) v))
|
(str/join "&" (map query-parameter (repeat k) v))
|
||||||
(query-parameter k v))))
|
(query-parameter k v))))
|
||||||
(str/join "&")))
|
(str/join "&")))
|
||||||
|
|
||||||
(defmacro goog-extend [type base-type ctor & methods]
|
|
||||||
`(do
|
|
||||||
(def ~type (fn ~@ctor))
|
|
||||||
|
|
||||||
(goog/inherits ~type ~base-type)
|
|
||||||
|
|
||||||
~@(map
|
|
||||||
(fn [method]
|
|
||||||
`(set! (.. ~type -prototype ~(symbol (str "-" (first method))))
|
|
||||||
(fn ~@(rest method))))
|
|
||||||
methods)))
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue