Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Takahiro Hozumi committed Sep 20, 2012
1 parent e6e1e68 commit e654e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ The event handlers are defined as following:
```

Note that the argument is passed as a hashmap and it contains optional argument mentioned above and original dom event as `e`.
I recommend this optional argument style in not only event handlers but almost everywhere in your application.
I recommend this hashmap argument style in not only event handlers but almost everywhere in your application.



Expand Down Expand Up @@ -206,7 +206,7 @@ Although the callback will be more complex when we fetch a collection of somethi


### No event system
Ducttape.cljs doesn't provide additional event system intentionally.
Ducttape.cljs intentionally doesn't provide additional event system.
What event system do is intelligent fucntion invocation.
Without event system, instead of firing events you need to invoke functions that update views manually after updating corresponding models, but in Ducttape.cljs updating data in the data shelf can happen within only a few (1 or maybe 2 per kind) callbacks of server request.
So manual invocation is not so painful compared with managing event.
Expand Down

0 comments on commit e654e33

Please sign in to comment.