【发布时间】:2012-08-27 21:12:49
【问题描述】:
我使用 jQuery 和 Backbone 为 Github Star 页面构建了一个 chrome 扩展。你可以在这里试试:https://chrome.google.com/webstore/detail/gpmgjficglcobhpbbkbgklfcpmhpemnb 源代码在这里:https://github.com/gregorym/galactic
我的问题如下,我在页面上插入了一个过滤存储库的文本字段。但有时当我输入得太快时,我的事件被触发但没有被捕获......
这里是触发事件的代码: https://github.com/gregorym/galactic/blob/master/app/views/stars/search.js#L25
下面是应该捕获它们的代码: https://github.com/gregorym/galactic/blob/master/app/views/stars/index.js#L14
知道是什么原因造成的吗?
谢谢, 格雷格
【问题讨论】:
标签: javascript jquery backbone.js backbone-events