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

Unified Diff: pkg/template_binding/lib/src/node.dart

Issue 414183004: Fix template binding. Turns out that bindCallback by default traps excepions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/template_binding/CHANGELOG.md ('k') | pkg/template_binding/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/template_binding/lib/src/node.dart
diff --git a/pkg/template_binding/lib/src/node.dart b/pkg/template_binding/lib/src/node.dart
index 503b91a4c85fe13789e44673395344f94c1d002a..fbcf96a866dc8b4f0dffa92487e0c5d8db6c52c7 100644
--- a/pkg/template_binding/lib/src/node.dart
+++ b/pkg/template_binding/lib/src/node.dart
@@ -157,8 +157,8 @@ JsObject bindableToJsObject(Bindable bindable) {
if (bindable is _JsBindable) return bindable._js;
var zone = Zone.current;
- inZone(f) => zone.bindCallback(f);
- inZoneUnary(f) => zone.bindUnaryCallback(f);
+ inZone(f) => zone.bindCallback(f, runGuarded: false);
+ inZoneUnary(f) => zone.bindUnaryCallback(f, runGuarded: false);
return new JsObject.jsify({
'open': inZoneUnary(
« no previous file with comments | « pkg/template_binding/CHANGELOG.md ('k') | pkg/template_binding/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698