On Mon, 27 Aug 2012 16:57:52 -0700, Ori Livneh <[email protected]> wrote:
On Monday, August 27, 2012 at 4:40 PM, Trevor Parscal wrote:
$( '<div>' ) is the way to go.
Yeah. Mark Pilgrim's overview of the sordid history of XHTML is useful
background: http://diveintohtml5.info/past.html
--
Ori Livneh
[email protected]
Can we not just jump into making this a HTML5 vs. XHTML topic?
Because if you want to make this HTML5 vs. XHTML '<div>' is NOT valid
HTML5.
If you don't like the XHTML-ish shortcut that jQuery provides, then our
coding conventions should be to use `$( '<div></div>' );`.
Either way $( '<div>' ) is NOT something officially supported by jQuery
and makes it easy for developers to accidentally write broken code.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l