IE8兼容 -- Prototype 1.6.1 RC2 发布

来源: OSCHINA
编辑: 红薯
2009-03-28

Prototype 日前发布了 Prototype 1.6.1 RC2 版本,该版本主要修正了与 IE8 的兼容性问题以及元素存储和补丁修正。

其中新的特性包括:

  • Full compatibility with Internet Explorer 8. Juriy has spearheaded the effort to replace most of our IE “sniffs” into outright capability checks — making it far easier to support IE8 in both “super-standards” mode and compatibility mode.
  • Element storage, a feature announced previously. Safely associate complex metadata with individual elements.
  • mouseenter and mouseleave events — simulating the IE-proprietary events that tend to be far more useful than mouseover and mouseout.
  • An Element#clone method for cloning DOM nodes in a way that lets you perform “cleanup” on the new copies.

改进的内容包括:

  • Better housekeeping on event handlers in order to prevent memory leaks.
  • Better performance in Function#bind, Element#down, and a number of other often-used methods.
  • A number of bug fixes.

详情请看 ChangeLog

Download Prototype 1.6.1_rc2

展开阅读全文
0 收藏
分享
加载中
更多评论
0 评论
0 收藏
分享
返回顶部
顶部