Tangram-base
Tangram-base copied to clipboard
baidu.event._unload bug
我用baidu.on给一个iframe的contentWindow对象添加onload监听,如果在运行期,iframe页面跳转了,会导致原来绑定的contentWindow对象引用被移除,这导致在baidu.event._unload运行的时候,取出来的之前绑定过的元素为null,在页面卸载时要移除所有事件监听会报错。
本issue来自云龙同学。
fix in 1.3.4. by cnberg