Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
fix(mock): Fix unitialized variable in MockWindow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbdeboer committed Aug 27, 2014
1 parent 0b0080b commit 862f46c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mock/mock_window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class MockWindow extends Mock implements Window {
final onHashChangeController = new dart_async.StreamController<Event>();
final onClickController = new dart_async.StreamController<MouseEvent>();

var animationFrameCompleter = new dart_async.Completer<num>();

dart_async.Stream<PopStateEvent> get onPopState => onPopStateController.stream;
dart_async.Stream<Event> get onHashChange => onHashChangeController.stream;
dart_async.Stream<Event> get onClick => onClickController.stream;
Expand Down

0 comments on commit 862f46c

Please sign in to comment.