Skip to content

Commit

Permalink
Small readme change
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojakob committed Sep 8, 2014
1 parent b24fe58 commit 6878d3d
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 @@ -49,6 +49,8 @@ Usually there is just one Event Bus per application, but more than one may be
set up to group a specific set of events.

```dart
import 'package:event_bus/event_bus.dart';
EventBus eventBus = new EventBus();
```

Expand All @@ -65,8 +67,6 @@ EventBus eventBus = new EventBus.hierarchical();
Any Dart class can be used as an event.

```dart
import 'package:event_bus/event_bus.dart';
class UserLoggedInEvent {
User user;
Expand Down

0 comments on commit 6878d3d

Please sign in to comment.