Bug report - 1.0.0 - removeEventListener
Posted: 13 Dec 2012, 12:33
Hello all,
Found a small problem with this...
I believe this should be if(null != c)
Thanks
osc23
Found a small problem with this...
Code: Select all
SFS2X.EventDispatcher.prototype.removeEventListener = function (a, b)
{
var c = this.listenersByEvent[a];
if (null != listenersByEvent)
{
for (var d = 0; d < c.length; d++)
{
if (c[d].listener === b)
{
c.splice(d, 1);
break
}
}
}
};Thanks
osc23