yui/yui3 — pull request #235 by jshirley (2012-09-03 17:24:00+00:00)
Title: Update src/app/js/view.js

If you have a view with events that do not match a method, thus failing to attach, a null entry is pushed on the _attachedViewEvents list.

This means that when it comes time to detach, (null).detach is called.

I'm playing around with a pattern with mixing in additional functionality, events may or may not be able to be handled.

The other option is to not push null events onto _attachedViewEvents, but this is more defensive (in case an event is removed some other fashion?)