mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
510ba08cff
Add calendar widget by copying and renaming datepicker widget files. Remove datepicker functionality, options and methods from Calendar. Remove calendar functionality, options and methods from Datepicker. Adjust tests due to split and changed specification. Remove duplicated demo files and fix some demos. Simplify calendar generation, use CSS instead of inline styles. Fix destroy method. Make use of uniqueId method. Fix focus highlighting when month is changed. Add version property. Add common unit tests. Fix input keyboard handling.
49 lines
1.3 KiB
HTML
49 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>jQuery UI Datepicker Test Suite</title>
|
|
|
|
<script src="../../jquery.js"></script>
|
|
<link rel="stylesheet" href="../../../external/qunit/qunit.css">
|
|
<script src="../../../external/qunit/qunit.js"></script>
|
|
<script src="../../../external/jquery-simulate/jquery.simulate.js"></script>
|
|
<script src="../../../external/globalize/globalize.js"></script>
|
|
<script src="../../../external/date.js"></script>
|
|
<script src="../../../external/localization.js"></script>
|
|
<script src="../testsuite.js"></script>
|
|
<script>
|
|
TestHelpers.loadResources({
|
|
css: [ "core", "calendar", "datepicker" ],
|
|
js: [
|
|
"ui/core.js",
|
|
"ui/widget.js",
|
|
"ui/button.js",
|
|
"ui/calendar.js",
|
|
"ui/position.js",
|
|
"ui/datepicker.js"
|
|
]
|
|
});
|
|
</script>
|
|
|
|
<script src="datepicker_common.js"></script>
|
|
<script src="datepicker_core.js"></script>
|
|
<script src="datepicker_events.js"></script>
|
|
<script src="datepicker_methods.js"></script>
|
|
<script src="datepicker_options.js"></script>
|
|
<script src="datepicker_test_helpers.js"></script>
|
|
|
|
<script src="../swarminject.js"></script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture">
|
|
|
|
<input type="text" id="datepicker">
|
|
<input type="text" id="datepicker2">
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|