]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Use Globalize 1.0.0
authorFelix Nagel <info@felixnagel.com>
Sat, 25 Apr 2015 17:36:10 +0000 (19:36 +0200)
committerFelix Nagel <info@felixnagel.com>
Tue, 28 Jul 2015 22:04:08 +0000 (00:04 +0200)
- Make unit tests work

tests/unit/calendar/calendar.html
tests/unit/datepicker/datepicker.html

index 0d28b635151e1f8db0b3c08d8f14ed2a2f660054..14bae7a4e00aabbd7c535e5b766cc067220289be 100644 (file)
@@ -4,9 +4,38 @@
        <meta charset="utf-8">
        <title>jQuery UI Calendar Test Suite</title>
 
-       <script src="../../../external/requirejs/require.js"></script>
-       <script src="../../lib/css.js" data-modules="core calendar"></script>
-       <script src="../../lib/bootstrap.js" data-widget="datepicker"></script>
+       <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="../testsuite.js"></script>
+       <script src="../../../external/cldrjs/cldr.js"></script>
+       <script src="../../../external/cldrjs/cldr/supplemental.js"></script>
+       <script src="../../../external/cldrjs/cldr/event.js"></script>
+       <script src="../../../external/globalize/globalize.js"></script>
+       <script src="../../../external/globalize/globalize/date.js"></script>
+       <script src="../../../external/localization.js"></script>
+       <script src="../../../ui/calendar/date.js"></script>
+       <script>
+       TestHelpers.loadResources({
+               css: [ "core", "calendar" ],
+               js: [
+                       "ui/core.js",
+                       "ui/widget.js",
+                       "ui/button.js",
+                       "ui/calendar.js"
+               ]
+       });
+       </script>
+
+       <script src="calendar_common.js"></script>
+       <script src="calendar_core.js"></script>
+       <script src="calendar_events.js"></script>
+       <script src="calendar_methods.js"></script>
+       <script src="calendar_options.js"></script>
+       <script src="calendar_test_helpers.js"></script>
+
+       <script src="../swarminject.js"></script>
 </head>
 <body>
 
index be4ff78934f659abaa2231851233c9995886688f..374b2c1fd8dba1b9c9e771c9c6a64de89a02ff27 100644 (file)
@@ -8,15 +8,14 @@
        <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="../testsuite.js"></script>
        <script src="../../../external/cldrjs/cldr.js"></script>
        <script src="../../../external/cldrjs/cldr/supplemental.js"></script>
        <script src="../../../external/cldrjs/cldr/event.js"></script>
        <script src="../../../external/globalize/globalize.js"></script>
        <script src="../../../external/globalize/globalize/date.js"></script>
-       <script src="../../../external/globalize/globalize/message.js"></script>
        <script src="../../../external/localization.js"></script>
-       <script src="../../../external/date.js"></script>
-       <script src="../testsuite.js"></script>
+       <script src="../../../ui/calendar/date.js"></script>
        <script>
        TestHelpers.loadResources({
                css: [ "core", "calendar", "datepicker" ],