I recently dove back into the jQuery source code to pull out some more JavaScript goodness. If you haven’t seen the original 10 Things I Learned from the jQuery Source video, definitely check that out.
But now.. some newness:
youtube link for flash-less HTML5 player
In this video:
- pseudo-module patterns with IIFEs (has.js example)
- data()’s new HTML5 powers via massive ternary operator chaining
- how operator precedence is like grade school mathematics.
- live and static nodelists (and a righteously clever IE sniff)
- jQuery’s new cssHooks, polyfilling support, css3 magic (and their relationship to ascii sunglasses)
- what
$.fn
really is. omg! - dancing!
Tune in for 29 minutes and soak it up.