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
d08d4833
Commit
d08d4833
authored
Nov 16, 2012
by
Richard Gibson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Sizzle
parent
28df086b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
sizzle
src/sizzle
+1
-1
index.html
test/index.html
+13
-10
No files found.
sizzle
@
c488e18f
Subproject commit
7ea8b52ed6f4e3026216037c00a24edd9fce4fff
Subproject commit
c488e18facdf50de2d272a052d1e0f663ec19fd4
test/index.html
View file @
d08d4833
...
...
@@ -14,30 +14,33 @@
<script
src=
"data/testinit.js"
></script>
<script
src=
"qunit/qunit/qunit.js"
></script>
<!-- Loads minified version if min=true is present in the search -->
<!-- Nullifies querySelectorAll if noqsa=true is present -->
<script>
(
function
()
{
var
src
=
"../dist/jquery.js"
;
QUnit
.
config
.
urlConfig
.
push
(
{
// Config parameter to use minified jQuery
QUnit
.
config
.
urlConfig
.
push
({
id
:
"min"
,
label
:
"Load minified"
,
tooltip
:
"Load the minified version of the jQuery build"
}
);
});
if
(
QUnit
.
urlParams
.
min
)
{
src
=
"../dist/jquery.min.js"
;
}
QUnit
.
config
.
urlConfig
.
push
(
{
id
:
"noqsa"
,
label
:
"Disable querySelectorAll"
,
tooltip
:
"Disable the native document.querySelectorAll"
}
);
if
(
QUnit
.
urlParams
.
noqsa
)
{
// Config parameter to force basic code paths
QUnit
.
config
.
urlConfig
.
push
({
id
:
"basic"
,
label
:
"Bypass optimizations"
,
tooltip
:
"Force use of the most basic code by disabling native querySelectorAll; contains; compareDocumentPosition"
});
if
(
QUnit
.
urlParams
.
basic
)
{
document
.
querySelectorAll
=
null
;
document
.
documentElement
.
contains
=
null
;
document
.
documentElement
.
compareDocumentPosition
=
null
;
}
// Load jQuery
document
.
write
(
"<script src='"
+
src
+
"'><
\
/script>"
);
})();
</script>
...
...
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