Oca 15
jQuery 1.2.2 yayınlandı. Yenilikler:
- 120 bug temizlendi.
- $(DOMElement) için Hız %300 arttırıldı.
Test Sonuçları:
| Browser | 1.2.1 (ms) | 1.2.2 (ms) |
|---|---|---|
| Firefox 2 | 0.041 | 0.015 |
| Firefox 3 | 0.033 | 0.01 |
| Safari 3 | 0.017 | 0.005 |
| Opera 9 | 0.023 | 0.004 |
| Internet Explorer 6 | 0.04 | 0.03 |
- .ready() fonksiyonuna yeni özellikler eklendi.
- .hover() ikiye ayrıldı: .bind(”mouseenter”) / .bind(”mouseleave”)
Örnek:
jQuery 1.2.2:
$("li").hover(function(){
$(this).addClass("hover");
}, function(){
$(this).removeClass("hover");
});
$("li").bind("mouseenter", function(){
$(this).addClass("hover");
}).bind("mouseleave", function(){
$(this).removeClass("hover");
});
- .bind(”mousewheel”) fonksiyonu eklendi.
Örnek:
$("div").bind("mousewheel", function(event, delta){
if ( delta < 0 )
$(this).append("up");
else
$(this).append("down");
});
- Complex :not() CSS seçicileri eklendi.
Örnek:
$(".hover:not(li.active)")
$("li:not(.active,.hover,:contains(test))")
- Accept Headers: Ajax ile artık sunucuya ne tür dosya aradığımızı belirtiyoruz. Desteklenen header’lar:
- xml “application/xml, text/xml”
- html “text/html”
- script “text/javascript, application/javascript”
- json “application/json, text/javascript”
- text “text/plain”
- Diğer: “*/*”
- Bug Düzeltmeleri:
- .clone() düzenlemeleri
- Script evaluation düzenlemeleri
- height() / width() düzenlemeleri
- Cross-frame DOM maniplasyonu
- Hafıza takılmaları düzeltildi
- Yeni API: Event API

Ocak 15th, 2008 at 21:07
abi bu adamlar tam anlamıyla yardırmışlar (:
özellikle not() seçicisinde geliştirme süper olmuş.
Ocak 15th, 2008 at 23:50
hemen yeni likleri dudukliyelim bakalim =)
Ocak 18th, 2008 at 11:06
Süperrrrr