Saturday, August 15, 2015

More on Lil Brother

Last time, I talked a bit about the lovely library Lil Brother that was open sourced by Shutterstock.  We're rolling it out a trial basis this weekend. Keep your fingers crossed!

I did run into an issue though. By default, events handled by Lil Brother don't bubble up. The documentation doesn't mention that the bubble keyword needs to be set to true for the event to bubble up. Otherwise, the bubble argument is undefined which causes the event propagation to stop.

I couldn't figure out how to upload new documentation to github, so I forked the project and updated the documentation. Hopefully this will save someone else a couple of hours debugging. :-)

No comments:

Post a Comment