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
b7f62abb
Commit
b7f62abb
authored
Nov 12, 2013
by
Richard Gibson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ref
71b2ac52
: Disallow 2.x bypass of environmental helper methods
parent
71b2ac52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
jquery.js
test/jquery.js
+0
-13
No files found.
test/jquery.js
View file @
b7f62abb
...
@@ -7,19 +7,6 @@
...
@@ -7,19 +7,6 @@
QUnit
=
window
.
QUnit
||
parent
.
QUnit
,
QUnit
=
window
.
QUnit
||
parent
.
QUnit
,
require
=
window
.
require
||
parent
.
require
;
require
=
window
.
require
||
parent
.
require
;
// 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; JSON.parse"
});
if
(
QUnit
.
urlParams
.
basic
)
{
document
.
querySelectorAll
=
null
;
document
.
documentElement
.
contains
=
null
;
document
.
documentElement
.
compareDocumentPosition
=
null
;
window
.
JSON
=
null
;
}
// iFrames won't load AMD (the iframe tests synchronously expect jQuery to be there)
// iFrames won't load AMD (the iframe tests synchronously expect jQuery to be there)
QUnit
.
config
.
urlConfig
.
push
({
QUnit
.
config
.
urlConfig
.
push
({
id
:
"amd"
,
id
:
"amd"
,
...
...
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