Index: lib/html.dart |
diff --git a/lib/html.dart b/lib/html.dart |
index 07b4aff2f94c7e37639cc4d3221827f4b9fa07fd..1b1a29c9d1745b3e140a3940a453f8f3281935ac 100644 |
--- a/lib/html.dart |
+++ b/lib/html.dart |
@@ -42,7 +42,7 @@ class ObservableLocationHash extends ChangeNotifier { |
_notifyHashChange(null); |
} |
- void _notifyHashChange(_) { |
+ void _notifyHashChange(Event _) { |
var oldValue = _currentHash; |
_currentHash = hash; |
notifyPropertyChange(#hash, oldValue, _currentHash); |
@@ -66,9 +66,8 @@ void updateCssClass(Element element, String className, bool value) { |
/// |
/// Bind a CSS class to the observable [object] and property [path]. |
@deprecated |
-PathObserver bindCssClass(Element element, String className, |
- Observable object, String path) { |
- |
+PathObserver bindCssClass( |
+ Element element, String className, Observable object, String path) { |
callback(value) { |
updateCssClass(element, className, value); |
} |