[Checkins] SVN: z3c.formjs/trunk/src/z3c/formjs/jsclientevent.txt Some layout work.

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Aug 23 15:05:23 EDT 2007


Log message for revision 79166:
  Some layout work.
  

Changed:
  U   z3c.formjs/trunk/src/z3c/formjs/jsclientevent.txt

-=-
Modified: z3c.formjs/trunk/src/z3c/formjs/jsclientevent.txt
===================================================================
--- z3c.formjs/trunk/src/z3c/formjs/jsclientevent.txt	2007-08-23 18:34:04 UTC (rev 79165)
+++ z3c.formjs/trunk/src/z3c/formjs/jsclientevent.txt	2007-08-23 19:05:23 UTC (rev 79166)
@@ -40,13 +40,13 @@
 the set of interfaces one would pass to the
 zope.component.provideHandler function.
 
-The decorator also registers this client side event handler with a
-local component registry that is accessed through the
-``jsClientListeners`` attribute, which is now available on the view class itself.
+The decorator also registers this client side event handler with a local
+component registry that is accessed through the ``jsClientListeners``
+attribute, which is now available on the view class itself.
 
   >>> View.jsClientListeners
   <ClientEventHandlers
-     [<ClientEventHandler for (<InterfaceClass zope.lifecycleevent.interfaces.IObjectModifiedEvent>,)>]>
+     [<ClientEventHandler for (<InterfaceClass ...IObjectModifiedEvent>,)>]>
 
 Server Side Listeners
 ---------------------
@@ -58,8 +58,7 @@
 
   >>> import zope.component
   >>> from zope.component.interfaces import IObjectEvent
-  >>> zope.component.provideHandler(jsclientevent.serverToClientEventLoader,
-  ...                               (IObjectEvent,))
+  >>> zope.component.provideHandler(jsclientevent.serverToClientEventLoader)
 
   >>> from zope.event import notify
   >>> from zope.lifecycleevent import ObjectModifiedEvent



More information about the Checkins mailing list