Skip to content

0.6.17

Compare
Choose a tag to compare
@m-mujica m-mujica released this 04 Jan 21:42
· 71 commits to master since this release

Wrap event handlers set with .on[event] = handler syntax.

This patch release makes it so can-zone wraps event handlers like the following:

var div = document.createElement("div");

// handleClick should run within the current zone now.
div.onclick = function handleClick() {
};