热烈庆祝《 MooTools 1.2.4 》最新版发布了,前进,前进…

美国时间2009年10月19号,下午5点多,《 MooTools 1.2.4 》最新版发布了。

经过MooTools 团队3个月的艰苦奋斗,应该到了给我发布新东西的时候了,我们是非常兴奋的。MooTools 1.2 版已经是非常稳定的API。我们目前的计划是每3个月左右都会给用户发布一些新的东西,包括bug的修复,直到MooTools 2.0的发布。如果发现严重的bugs,我们会在第一时间修正的,我们可以。

Non-breaking Changes

在我们开始告诉你所有的美味的东西时,我们已经考虑到了你的想法,我们首先向你保证,我们今天公布的代码是100%兼容以前的版本。

MooTools Core – 1.2.4

这个MooTools 核心版本已经是接受考验,稳定和完善的了。我们已修复了许多小错误,那些你可能会注意到最重要的是:

  • Added Trident 6 (IE8) detection
  • Request can take an instance of URI as a url
  • JSON.stringify and JSON.parse native methods are now accessible
  • DomReady always fires before load event
  • Fix for creating a Request in early versions of IE6
  • Fixes and optimizations for Element.getOffsets

这份简短的清单不能做到公正,自从1.2.3以后,大约有70个承诺的核心,但其中大多数是轻微的修补,包括增加文件,增加更多的测试等,这里的关键是1.2版越来越稳定,这就是我们为什么很少会这样发布的原因。

MooTools More – 1.2.4.1

虽然MooTools核心一直坚持与1.2版本大致相同,MooTools会继续增加更多新的功能,应使开发更容易。此版本挤满了错误修复和新的插件,我们非常高兴地看到了社会究竟会如何处理它们,下面是一个简要列表:

  • over 30 issues fixed or closed (in lighthouse)
  • New feature: Element.Delegation – a partial port of event delegation from MooTools 2.0 (does not support custom events or blur/focus)
  • New feature: Elements.From converts html strings to DOM elements
  • New feature: Depender – a client side MooTools dependency loader ** Related: Depender App – a server side implementation (that’s much faster) – more on this in a later post
  • New feature: Mask – masks elements (including the window) with a semi-opaque overlay
  • New feature: Spinner – automates the creation of ajax spinners over DOM elements being updated (previously known as Waiter on Clientcide.com)
  • New feature: Form.Request, Form.Request.Append – automates creating ajax forms that update HTML in DOM elements (previously Fupdate on Clientcide.com)
  • New feature: HtmlTable, HtmlTable.Zebra, HtmlTable.Sort, HtmlTable.Select – interactive and auto-generated html table elements
  • New feature: Keyboard – a robust event manager for keyboard groupings
  • Added new option to Fx.Accordion: returnHeightToAuto
  • FormValidator is now Form.Validator ** Added credit card number validator to FormValidator
  • MooTools Lang is now a part of MooTools More (again)
  • Added timeDiff method to Date.Extras
  • Added ability to ignore scroll position with Element.Position
  • Element.setPosition is now Element.position (non-breaking change)
  • Added hideAll and showAll methods for OverText
  • Added Element.isVisible method
  • URI’s get method no longer returns null for missing parts; it returns an empty string.
  • Various other tweaks and bug fixes

Get Coding!

还等什么,赶快去下载吧!

MooTools1.2.4 Download

站点统计