From 87d21405a38bdab6e592d083acb98bda078b6e40 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Tue, 22 Oct 2013 17:42:02 -0700 Subject: [PATCH] host events now support "{{eventHandler}}" syntax too. --- src/declaration/events.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/declaration/events.js b/src/declaration/events.js index 8fac392ac8..0b5a1cb4da 100644 --- a/src/declaration/events.js +++ b/src/declaration/events.js @@ -26,7 +26,8 @@ // does it have magic marker identifying it as an event delegate? if (api.hasEventPrefix(a.name)) { // if so, add the info to delegates - delegates[api.removeEventPrefix(a.name)] = a.value; + delegates[api.removeEventPrefix(a.name)] = a.value.replace('{{', '') + .replace('}}', '').trim(); } } },