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
ea24cd10
Commit
ea24cd10
authored
May 02, 2011
by
timmywil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid changing html in two places; add minified jQuery as an option to the main test page
parent
3dbd7b54
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
268 deletions
+13
-268
testrunner.js
test/data/testrunner.js
+0
-3
versioncheck.js
test/data/versioncheck.js
+8
-0
index.built.html
test/index.built.html
+0
-264
index.html
test/index.html
+5
-1
No files found.
test/data/testrunner.js
View file @
ea24cd10
...
@@ -28,9 +28,6 @@ jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
...
@@ -28,9 +28,6 @@ jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
// QUnit Aliases
// QUnit Aliases
(
function
()
{
(
function
()
{
window
.
equals
=
window
.
equal
;
window
.
equals
=
window
.
equal
;
window
.
same
=
window
.
deepEqual
;
window
.
same
=
window
.
deepEqual
;
})();
})();
test/data/versioncheck.js
0 → 100644
View file @
ea24cd10
// Run minified source from dist (do make first)
// Should be loaded before QUnit but after src
(
function
()
{
if
(
/jquery
\=
min/
.
test
(
window
.
location
.
search
)
)
{
jQuery
.
noConflict
(
true
);
document
.
write
(
unescape
(
"%3Cscript%20src%3D%27../dist/jquery.min.js%27%3E%3C/script%3E"
));
}
})();
\ No newline at end of file
test/index.built.html
deleted
100644 → 0
View file @
3dbd7b54
This diff is collapsed.
Click to expand it.
test/index.html
View file @
ea24cd10
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
<script
src=
"../src/offset.js"
></script>
<script
src=
"../src/offset.js"
></script>
<script
src=
"../src/dimensions.js"
></script>
<script
src=
"../src/dimensions.js"
></script>
<script
src=
"data/versioncheck.js"
></script>
<script
src=
"qunit/qunit/qunit.js"
></script>
<script
src=
"qunit/qunit/qunit.js"
></script>
<script
src=
"data/testrunner.js"
></script>
<script
src=
"data/testrunner.js"
></script>
...
@@ -48,7 +50,9 @@
...
@@ -48,7 +50,9 @@
</head>
</head>
<body
id=
"body"
>
<body
id=
"body"
>
<h1
id=
"qunit-header"
>
jQuery Test Suite
</h1>
<h1
id=
"qunit-header"
>
jQuery Test Suite
<a
href=
"?jquery=min"
>
(minified)
</a>
</h1>
<h2
id=
"qunit-banner"
></h2>
<h2
id=
"qunit-banner"
></h2>
<div
id=
"qunit-testrunner-toolbar"
></div>
<div
id=
"qunit-testrunner-toolbar"
></div>
<h2
id=
"qunit-userAgent"
></h2>
<h2
id=
"qunit-userAgent"
></h2>
...
...
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