Mercurial > hg > indyvon
changeset 181:fc9c674a4d54
Fixed a misplaced docstring.
author | Mikhail Kryshen <mikhail@kryshen.net> |
---|---|
date | Wed, 18 Nov 2015 19:12:12 +0300 |
parents | dcb941086063 |
children | fefcd73386c2 |
files | src/indyvon/views.clj |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/src/indyvon/views.clj Thu Oct 22 03:52:26 2015 +0300 1.2 +++ b/src/indyvon/views.clj Wed Nov 18 19:12:12 2015 +0300 1.3 @@ -355,8 +355,9 @@ 1.4 (geometry [_] 1.5 (geometry content))) 1.6 1.7 -(defmacro add-handlers [view & event-handlers] 1.8 +(defmacro add-handlers 1.9 "Adds event handling to the view." 1.10 + [view & event-handlers] 1.11 `(->Active (handlers ~@event-handlers) ~view)) 1.12 1.13 (defrecord Themed [theme view]