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

Unified Diff: runtime/observatory/lib/src/elements/nav/library_menu_wrapper.dart

Issue 2184873002: Removed dynamic Symbol creation and marked Bindable classes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
Index: runtime/observatory/lib/src/elements/nav/library_menu_wrapper.dart
diff --git a/runtime/observatory/lib/src/elements/nav/library_menu_wrapper.dart b/runtime/observatory/lib/src/elements/nav/library_menu_wrapper.dart
index 6e48155a2d6e4d5ed2a595e2aab7f8466a86dbd2..1097bdc654967bc904c247fa04cf6a33108255c3 100644
--- a/runtime/observatory/lib/src/elements/nav/library_menu_wrapper.dart
+++ b/runtime/observatory/lib/src/elements/nav/library_menu_wrapper.dart
@@ -10,9 +10,11 @@ import 'package:observatory/src/elements/helpers/tag.dart';
import 'package:observatory/src/elements/shims/binding.dart';
import 'package:observatory/src/elements/nav/library_menu.dart';
+@bindable
class NavLibraryMenuElementWrapper extends HtmlElement {
- static final binder = new Binder<NavLibraryMenuElementWrapper>(
- const [const Binding('last'), const Binding('library')]);
+ static const binder = const Binder<NavLibraryMenuElementWrapper>(const {
+ 'last': #last, 'library': #library
+ });
static const tag =
const Tag<NavLibraryMenuElementWrapper>('library-nav-menu');

Powered by Google App Engine
This is Rietveld 408576698