Please sign in to comment.
A few fixes to goog.events+goog.events.EventTarget:
1) Adds reallyDisposed_ to goog.events.EventTarget. Use this to bypass dispatchEvent/fireListeners instead of this.isDisposed(). Reason: this.isDisposed() returns true when dispose() is called, even when disposeInternal has not been executed. Many classes (including goog.ui.Component) wants to fire events in disposeInternal, which should be allowed. Added test. 2) wrapListener_ now returns the value from handleEvent call correctly + added tests. R=nicksantos DELTA=70 (65 added, 0 deleted, 5 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=6221 git-svn-id: http://closure-library.googlecode.com/svn/trunk@2484 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
- Loading branch information...
Showing with 70 additions and 5 deletions.