]> source.dussan.org Git - jquery.git/commit
Manipulation: Switch rnoInnerhtml to a version more performant in IE
authorSean Henderson <seanh.za@gmail.com>
Thu, 3 Sep 2015 15:48:20 +0000 (17:48 +0200)
committerMichał Gołębiowski <m.goleb@gmail.com>
Tue, 8 Sep 2015 17:31:57 +0000 (19:31 +0200)
commitd4def22e4cd1c2eb2571f449e226b38384fb6d81
treef1adc0ff106d0447c84b15e3cdad1b7a803d477f
parent1b566d37a2879af12364a03c633c235a76f49925
Manipulation: Switch rnoInnerhtml to a version more performant in IE

IE versions greater than 9 do not handle the old regular expression well
with large html content. This is due to the use of a non-capturing group
after a very common html character (<).

Test suite: http://jsfiddle.net/Lwa0t5rp/3/
Microsoft bug: https://connect.microsoft.com/IE/feedback/details/1736512/

Fixes gh-2563
Closes gh-2574
src/manipulation.js