Remove unused internal ‘goog-extend’ function

This commit is contained in:
Mathieu Lirzin 2021-12-04 18:06:51 +01:00
parent 93e288bf34
commit fce79e903b
No known key found for this signature in database
GPG key ID: 0ADEE10094604D37

View file

@ -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)))