diff options
Diffstat (limited to 'tests/unit/datepicker/datepicker.html')
-rw-r--r-- | tests/unit/datepicker/datepicker.html | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/tests/unit/datepicker/datepicker.html b/tests/unit/datepicker/datepicker.html index 108023372..592db53cc 100644 --- a/tests/unit/datepicker/datepicker.html +++ b/tests/unit/datepicker/datepicker.html @@ -4,16 +4,20 @@ <meta charset="utf-8"> <title>jQuery UI Datepicker Test Suite</title> - <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css"> - <link rel="stylesheet" href="../../../themes/base/jquery.ui.datepicker.css"> - <script src="../../jquery.js"></script> - <script src="../../../ui/jquery.ui.core.js"></script> - <script src="../../../ui/jquery.ui.widget.js"></script> - <script src="../../../ui/jquery.ui.datepicker.js"></script> - <script src="../../../ui/i18n/jquery.ui.datepicker-fr.js"></script> - <script src="../../../ui/i18n/jquery.ui.datepicker-he.js"></script> - <script src="../../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script> + <script src="../../resource_loader.js"></script> + <script> + loadResources({ + css: [ "ui.core", "ui.datepicker" ], + js: [ + "ui/jquery.ui.core.js", + "ui/jquery.ui.datepicker.js", + "ui/i18n/jquery.ui.datepicker-fr.js", + "ui/i18n/jquery.ui.datepicker-he.js", + "ui/i18n/jquery.ui.datepicker-zh-CN.js" + ] + }); + </script> <link rel="stylesheet" href="../../../external/qunit.css"> <script src="../../../external/qunit.js"></script> |