Saartje87/pbjs — Issue #3: Feature: Pipeline's for "on"-actions
Author: evdtempel
Created: 2012-01-12 10:40:49+00:00
State: open

Pipeline usage for "on"-actions. I'd guess underneath example would explain enough! ;)

This bit of code:

e.on('click', showmenu);
e.on('mouseenter', showmenu);
e.on('mouseleave', hidemenu);

Should look like:

e.on('click' || 'mouseenter', showmenu);
e.on('mouseleave', hidemenu);