mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
9887579b61
Avoid relying on jQuery patches. Instead: * use `CSS.escape` instead of `jQuery.escapeSelector` * use `.filter()` with a proper handler instead of `.even()` Keep `jquery-patch.js` for backwards compatibility, though. Also, add tests for jquery-patch. Ref gh-2249
71 lines
1.7 KiB
HTML
71 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>jQuery UI Test Suite</title>
|
|
|
|
<script src="../../external/jquery/jquery.js"></script>
|
|
|
|
<link rel="stylesheet" href="../../external/qunit/qunit.css">
|
|
<link rel="stylesheet" href="../lib/vendor/qunit-composite/qunit-composite.css">
|
|
<script src="../../external/qunit/qunit.js"></script>
|
|
<script src="../lib/vendor/qunit-composite/qunit-composite.js"></script>
|
|
|
|
<script>
|
|
(function() {
|
|
|
|
var params = [],
|
|
suites = [
|
|
"accordion/accordion.html",
|
|
"autocomplete/autocomplete.html",
|
|
"button/button.html",
|
|
"checkboxradio/checkboxradio.html",
|
|
"controlgroup/controlgroup.html",
|
|
"core/core.html",
|
|
"datepicker/datepicker.html",
|
|
"dialog/dialog.html",
|
|
"draggable/draggable.html",
|
|
"droppable/droppable.html",
|
|
"effects/effects.html",
|
|
"form-reset-mixin/form-reset-mixin.html",
|
|
"jquery-patch/jquery-patch.html",
|
|
"menu/menu.html",
|
|
"position/position.html",
|
|
"progressbar/progressbar.html",
|
|
"resizable/resizable.html",
|
|
"selectable/selectable.html",
|
|
"selectmenu/selectmenu.html",
|
|
"slider/slider.html",
|
|
"sortable/sortable.html",
|
|
"spinner/spinner.html",
|
|
"tabs/tabs.html",
|
|
"tooltip/tooltip.html",
|
|
"widget/widget.html"
|
|
];
|
|
|
|
$.each( QUnit.urlParams, function( key, value ) {
|
|
if ( key === "filter" ) {
|
|
return;
|
|
}
|
|
params.push( encodeURIComponent( key ) + "=" + encodeURIComponent( value ) );
|
|
});
|
|
if ( params.length ) {
|
|
params = "?" + params.join( "&" );
|
|
suites = $.map( suites, function( suite ) {
|
|
return suite + params;
|
|
});
|
|
}
|
|
QUnit.testSuites( suites );
|
|
|
|
}());
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture">
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|