Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292108

Use jQuery 2 in browsers better than IE8

$
0
0

jQuery 2.0 stable is just out, we made sure our JS was compatible with jQuery 1.9 a short time ago so that we could use jQuery 2 when possible.

Here it is.

- Put the library version as 1.9 since it's the API we'll keep compatibility with.
- I move jquery in it's sub folder like the rest of vendor scripts.
- renamed the jquery file with the "official" file name, we don't care it's all abstracted in the library declaration.

It's a perf thing too. Several other reasons but we should do it anyway.

(conditional comments are not great but I'd say to get rid of them the easiest is to drop support for IE8 in D8 :)

AttachmentSizeStatusTest resultOperations
core-js-jquery2.patch352.45 KBIdleFAILED: [[SimpleTest]]: [MySQL] 54,588 pass(es), 4 fail(s), and 0 exception(s).View details | Re-test

Viewing all articles
Browse latest Browse all 292108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>