openfl/openfl-html5 — pull request #47 by clarkjones (2014-05-21 02:55:39+00:00)
Title: always set target if null when calling dispatchEvent

I was just playing around with the html5 target and noticed that the target property on events were not getting set if the EventDispatcher object had no event listeners. When the event bubbled the target and currentTarget properties would be the same.

I just pushed the conditional setting the target to the top of the method