diff options
author | Amrykid <amrykid@gmail.com> | 2011-07-27 18:12:32 -0500 |
---|---|---|
committer | Amrykid <amrykid@gmail.com> | 2011-07-27 18:12:32 -0500 |
commit | 4f54b93bb977220be4389316b5f55a1ec78f1bf0 (patch) | |
tree | 4d7985dfa8a4f3ca9d6bfc85b65d6efdc6473a88 /lib/pure | |
parent | 79dafe08e33b82fb1955c981840ff7b3790c224e (diff) | |
download | Nim-4f54b93bb977220be4389316b5f55a1ec78f1bf0.tar.gz |
Removed 'unnecessary' whitespace.
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/events.nim | 8 |
1 files changed, 4 insertions, 4 deletions
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) |