Skip to content

Commit

Permalink
host events now support "{{eventHandler}}" syntax too.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Oct 23, 2013
1 parent 3cf2a56 commit 87d2140
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/declaration/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
},
Expand Down

0 comments on commit 87d2140

Please sign in to comment.