jquery 1.4.1
gen26
di LucaNeanche ci siamo abituati alla nuova versione di jquery che oggi già rilasciano al prima minor release. De seguito riporto le principali novità (prese sempre dal nuovo sito di jquery per la nuova versione)
New Features
A full list of the API changes can be found in the 1.4.1 category on the jQuery API site.
- .live(“focus”) and .live(“blur”) now work – mapping to .live(“focusin”) and .live(“focusout”). (Documentation, Ticket)
- .live(“hover”) now exists, mapping to .live(“mouseenter mouseleave”). (Documentation, Ticket)
- It’s now possible to bind multiple event types with live. (Documentation, Ticket)
- Calling .die() (with no arguments) removes all bound live event handlers. (Documentation, Ticket)
- .height( function ) and .width( function ) now exist. (Height Documentation, Width Documentation, Ticket)
- jQuery.parseJSON has been exposed, allowing you to parse JSON strings into JavaScript objects. (Documentation, Ticket)
- jQuery.error has been exposed, to be used by plugin developers to provide informative user feedback. (Documentation, Ticket)
Bug Fixes
CoreEventsTraversing
EffectsAjaxOffsetManipulation
Jquery 1.4
gen15
di LucaCome recita il banner nell’home page di jquery Nuovo anno, nuova versione. Infatti, ieri è uscrita la nuova versione 1.4 della libreria javascript. Per festeggiare l’evento hano creatoun nuovo sito dove possiamo trovare tutte le informazioni sul rilascio di jquery dal’ultima RC.
Sicuramente interessante è l’annucio del rilascio della nuove versione o le domande e risposte.
Tutte le novità e modifiche sono presenti qui
Riporto un elenco delle nuove funzionalità:
- .clearQueue()
- jQuery.contains()
- .delay()
- .detach()
- .focusin()
- .focusout()
- .has()
- jQuery.isEmptyObject()
- jQuery.isPlainObject()
- .nextUntil()
- jQuery.noop
- .parentsUntil()
- .prevUntil()
- jQuery.proxy()
- .toArray()
- .unwrap()
Ci sono delle novità anche per quanto riguarda la parte AJAX, cito solo i titoli dei paragrafic eh riguardano la sezione
Nested param serialization (jQuery.param() Documentation, Commit 1, Commit 2)
JSON and script types auto-detected by content-type (jQuery.ajax Documentation, Commit 1, Commit 2)
Etag support has been added (jQuery.ajax() Documentation, Commit)
Strict JSON parsing, using native JSON.parse (jQuery.ajax() Documentation, Commit 1, Commit 2, Commit 3)
Serialize HTML5 elements (jQuery.param() Documentation, Commit)
Context for Ajax Request (jQuery.ajax() Documentation, Commit)
Success callback receives XHR object as third argument (jQuery.ajax() Documentation, Commit)
Explicitly set a content-type (jQuery.ajax() Documentation, Commit)
Explicitly specify a JSONP callback name (jQuery.ajax Documentation, Commit)
Avoid pre-flighting cross-domain XHR (Commit)
jQuery.ajax() is now using onreadystatechange instead of a timer (Commit)
Ce n’è da imparare!
Il Bloggatore