From cda4615d4fb6f2307fc8515cab7b30d77302c243 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Fri, 6 Dec 2013 16:37:45 +0100 Subject: [PATCH] Let dart infer types --- Chapter_04/lib/tooltip/tooltip_directive.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Chapter_04/lib/tooltip/tooltip_directive.dart b/Chapter_04/lib/tooltip/tooltip_directive.dart index f091685..9e796f8 100644 --- a/Chapter_04/lib/tooltip/tooltip_directive.dart +++ b/Chapter_04/lib/tooltip/tooltip_directive.dart @@ -21,8 +21,7 @@ class Tooltip { dom.Element tooltipElem; - Tooltip(dom.Element this.element, dom.Node this.node, - Scope this.scope) { + TooltipTooltip(this.element, this.node, this.scope) { element.onMouseEnter.listen((event) { _createTemplate();