mkuklis/asEvented — pull request #11 by nazomikan (2012-12-31 07:45:31+00:00)
Title: Modification of behavior when given a "non-existent callback" that does not exist in "unbind".

Fixed a bug that listener unrelated will be deleted if you give a "non-existent callback" that does not exist in the "unbind"
Fixed a bug that "one" can not delete the callback in the case of msie(<9)

detai:

[one]
The value of fn and fn1 is not equivalent in the case of the following ie<9
The code applicable to the case is corrected.
======
var fn = function fn1 () { alert(fn === fn1) } // ie.<9 false

[unbind]
1) i have modified to be ignored if you give a "non-existent callback" to "unbind"
2) msie does not have a "Array.indexOf", i made it to the corresponding

[test:unbind]
add: non-existent callback