Add comments and clean up code.

This commit is contained in:
Jürg Lehni 2011-11-17 19:28:05 +01:00
parent 427cc21b3a
commit b9f6c99dcd
3 changed files with 2 additions and 9 deletions

View file

@ -89,6 +89,7 @@ var CanvasView = View.extend(/** @lends CanvasView# */{
called = false;
while (item) {
if (item.responds(type)) {
// Create an reuse the event object if we're bubbling
if (!mouseEvent)
mouseEvent = new MouseEvent(type, event, point, target,
// Calculate delta if lastPoint was passed