I am following the Tutorials but I am stuck at 4. Event Proxies:
The following doesnt work for me, it just happens nothing:
<button on-click='activate'>Activate!</button>
...
ractive.on( 'activate', function ( event ) {
alert( 'Activating!' );
});
Here is a live example: http://jsbin.com/kupetofawavu/1/
What am I missing, please?