From 4f54b93bb977220be4389316b5f55a1ec78f1bf0 Mon Sep 17 00:00:00 2001 From: Amrykid Date: Wed, 27 Jul 2011 18:12:32 -0500 Subject: Removed 'unnecessary' whitespace. --- lib/pure/events.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/pure') diff --git a/lib/pure/events.nim b/lib/pure/events.nim index d054dd217..413256657 100644 --- a/lib/pure/events.nim +++ b/lib/pure/events.nim @@ -14,8 +14,8 @@ ## it was inspired by Python's PyEE module. There are two ways you can use events: one is a python-inspired way; the other is more of a C-style way. ## .. code-block:: Nimrod ## var ee = initEventEmitter() -## var genericargs : TEventArgs -## proc handleevent(e : TEventArgs) = +## var genericargs: TEventArgs +## proc handleevent(e: TEventArgs) = ## echo("Handled!") ## ## # Python way @@ -26,8 +26,8 @@ ## # Declare a type ## type ## TSomeObject = object of TObject -## SomeEvent : TEventHandler -## var myobj : TSomeObject +## SomeEvent: TEventHandler +## var myobj: TSomeObject ## myobj.SomeEvent = initEventHandler("SomeEvent") ## myobj.SomeEvent.addHandler(handleevent) ## ee.emit(myobj.SomeEvent, genericargs) -- cgit 1.4.1-2-gfad0