Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
d07116a9
Commit
d07116a9
authored
Dec 18, 2011
by
Rick Waldron
Committed by
Dave Methvin
Jan 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055
parent
491d7e21
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
manipulation.js
src/manipulation.js
+1
-1
index.html
test/index.html
+1
-1
No files found.
src/manipulation.js
View file @
d07116a9
...
@@ -14,7 +14,7 @@ function createSafeFragment( document ) {
...
@@ -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
+/
,
...
...
test/index.html
View file @
d07116a9
...
@@ -34,7 +34,7 @@
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment