mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055
This commit is contained in:
parent
491d7e219b
commit
d07116a952
@ -14,7 +14,7 @@ function createSafeFragment( document ) {
|
|||||||
return safeFrag;
|
return safeFrag;
|
||||||
}
|
}
|
||||||
|
|
||||||
var nodeNames = "abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|" +
|
var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
|
||||||
"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
|
"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
|
||||||
rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
||||||
rleadingWhitespace = /^\s+/,
|
rleadingWhitespace = /^\s+/,
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
// html5shiv, enabling HTML5 elements to be used with jQuery
|
// html5shiv, enabling HTML5 elements to be used with jQuery
|
||||||
( "abbr article aside audio canvas details figcaption figure footer header hgroup " +
|
( "abbr article aside audio bdi canvas data details figcaption figure footer header hgroup " +
|
||||||
"mark meter nav output progress section summary time video"
|
"mark meter nav output progress section summary time video"
|
||||||
).replace(/\w+/g, function(n) {
|
).replace(/\w+/g, function(n) {
|
||||||
document.createElement(n);
|
document.createElement(n);
|
||||||
|
Loading…
Reference in New Issue
Block a user