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 wrap: on
line diff
--- a/src/indyvon/views.clj	Thu Oct 22 03:52:26 2015 +0300
+++ b/src/indyvon/views.clj	Wed Nov 18 19:12:12 2015 +0300
@@ -355,8 +355,9 @@
   (geometry [_]
     (geometry content)))
 
-(defmacro add-handlers [view & event-handlers]
+(defmacro add-handlers
   "Adds event handling to the view."
+  [view & event-handlers]
   `(->Active (handlers ~@event-handlers) ~view))
 
 (defrecord Themed [theme view]