Bug 543675 - Assignment to undeclared variable eventItem. r=mfinkle

This commit is contained in:
Dão Gottwald 2010-02-03 13:40:55 +01:00
parent b0e081ef6b
commit 0c0415832c

View File

@ -140,7 +140,7 @@ Events.prototype = {
},
dispatch : function evts_dispatch(aEvent, aEventItem) {
eventItem = new EventItem(aEvent, aEventItem);
var eventItem = new EventItem(aEvent, aEventItem);
this._listeners.forEach(function(key){
if (key.event == aEvent) {