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

Unified Diff: pkg/polymer_expressions/example/streams/mouse_resize_image.html

Issue 34453003: Rename mdv -> template_binding, remove experiemntal apis from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « pkg/polymer_expressions/example/streams/mouse_move.html ('k') | pkg/polymer_expressions/lib/eval.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer_expressions/example/streams/mouse_resize_image.html
diff --git a/pkg/polymer_expressions/example/streams/mouse_resize_image.html b/pkg/polymer_expressions/example/streams/mouse_resize_image.html
index a056d2ebe53627def66ab0fb7a84b808d1e1dbc8..2021ec1f4f6efe2c53d299a2e307fd7bf0ca84df 100644
--- a/pkg/polymer_expressions/example/streams/mouse_resize_image.html
+++ b/pkg/polymer_expressions/example/streams/mouse_resize_image.html
@@ -19,15 +19,13 @@ BSD-style license that can be found in the LICENSE file.
import 'package:mdv/mdv.dart' as mdv;
main() {
- mdv.initialize();
-
var globals = {
'mouse': document.onMouseMove,
'mouseMax':
document.onMouseMove.map((e) => max(e.offsetX, e.offsetY)),
};
- query('#test')
+ templateBind(query('#test'))
..bindingDelegate = new PolymerExpressions(globals: globals)
..model = null;
}
« no previous file with comments | « pkg/polymer_expressions/example/streams/mouse_move.html ('k') | pkg/polymer_expressions/lib/eval.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698