Re:Native equivalents of jQuery functions
by brokenparser on Monday May 20, 2013 @09:09AM
(#5737484)
Okay. Revision 9 adds code to remove the inserted elements, to put every test on equal footing. Is the practical equivalent yours? Because it hits a sweet spot.
[ Parent
| on HN ]
The one called "MUCH MORE PRACTIVAL native equivalent" is a mistake, it doesn't do anything. I didn't know documentFragment lacks the innerHTML property so is not doing any parsing like the others.
Re:Native equivalents of jQuery functions
by brokenparser on Monday May 20, 2013 @10:33AM
(#5737877)
Ah, that explains it. I can't submit Firefox results, though. The crappy native equivalent just locks up after throwing several "unresponsive script" warnings.