aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/button.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/button/button.html')
-rw-r--r--tests/unit/button/button.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html
index 7fcf07eec..5ec7e316a 100644
--- a/tests/unit/button/button.html
+++ b/tests/unit/button/button.html
@@ -4,13 +4,18 @@
<meta charset="utf-8">
<title>jQuery UI Button Test Suite</title>
- <link rel="stylesheet" href="../../../themes/base/jquery.ui.core.css">
- <link rel="stylesheet" href="../../../themes/base/jquery.ui.button.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.button.js"></script>
+ <script src="../../resource_loader.js"></script>
+ <script>
+ loadResources({
+ css: [ "ui.core", "ui.button" ],
+ js: [
+ "ui/jquery.ui.core.js",
+ "ui/jquery.ui.widget.js",
+ "ui/jquery.ui.button.js"
+ ]
+ });
+ </script>
<link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script>