This commit is contained in:
Tommi Reiman 2018-08-01 18:56:58 +03:00
parent 0b4d1d2ee1
commit 303b124973

View file

@ -256,7 +256,7 @@
(goog/inherits ~type ~base-type)
~@(map
(fn [method]
`(set! (.. ~type -prototype ~(symbol (str "-" (first method))))
(fn ~@(rest method))))
methods)))
(fn [method]
`(set! (.. ~type -prototype ~(symbol (str "-" (first method))))
(fn ~@(rest method))))
methods)))