Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1023)

Unified Diff: lib/html.dart

Issue 1616953004: Fixed strong mode errors and warnings reachable from lib/observe.dart (Closed) Base URL: https://github.com/dart-lang/observe.git@master
Patch Set: Removed inferrable type param Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « benchmark/index.dart ('k') | lib/mirrors_used.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « benchmark/index.dart ('k') | lib/mirrors_used.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698