From 3932ebe8ead1a3ba57b2ca4ba9bf4dd257570576 Mon Sep 17 00:00:00 2001 From: Rafael Weinstein Date: Wed, 23 Oct 2013 14:11:27 -0700 Subject: [PATCH] Implement underbar bindings BUG= Review URL: https://codereview.appspot.com/16240043 --- src/TemplateBinding.js | 9 +++++++++ tests/tests.js | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/src/TemplateBinding.js b/src/TemplateBinding.js index 5d85427..b7f2295 100644 --- a/src/TemplateBinding.js +++ b/src/TemplateBinding.js @@ -703,6 +703,15 @@ var name = attr.name; var value = attr.value; + // Allow bindings expressed in attributes to be prefixed with underbars. + // We do this to allow correct semantics for browsers that don't implement + //