Index: runtime/observatory/lib/src/elements/nav/menu_wrapper.dart |
diff --git a/runtime/observatory/lib/src/elements/nav/menu_wrapper.dart b/runtime/observatory/lib/src/elements/nav/menu_wrapper.dart |
index c237fede200abf07a996119e5eccefdf3b5d9fe5..04577c65237be17669c0adacfa863138f3396e33 100644 |
--- a/runtime/observatory/lib/src/elements/nav/menu_wrapper.dart |
+++ b/runtime/observatory/lib/src/elements/nav/menu_wrapper.dart |
@@ -9,10 +9,11 @@ import 'package:observatory/src/elements/helpers/tag.dart'; |
import 'package:observatory/src/elements/shims/binding.dart'; |
import 'package:observatory/src/elements/nav/menu.dart'; |
+@bindable |
class NavMenuElementWrapper extends HtmlElement { |
- static final binder = new Binder<NavMenuElementWrapper>( |
- const [const Binding('anchor'), const Binding('link'), |
- const Binding('last')]); |
+ static const binder = const Binder<NavMenuElementWrapper>(const { |
+ 'anchor': #anchor, 'link': #link, 'last': #last |
+ }); |
static const tag = |
const Tag<NavMenuElementWrapper>('nav-menu'); |