mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
The goog-extend macro isn't used
Reitit.frontend.history was rewritten in 08156f6a6d
This commit is contained in:
parent
93e288bf34
commit
ad90a2788e
1 changed files with 0 additions and 12 deletions
|
|
@ -252,15 +252,3 @@
|
|||
(str/join "&" (map query-parameter (repeat k) v))
|
||||
(query-parameter k v))))
|
||||
(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