On Monday, August 27, 2012 at 5:50 PM, Daniel Friesen wrote:
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.
By Jove, you're right. The jQuery docs confirm. Retracted!
--
Ori Livneh
ori(a)wikimedia.org