aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/draggable.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-10-28 15:58:33 -0400
committerScott González <scott.gonzalez@gmail.com>2011-10-28 15:58:33 -0400
commitdcac8c1f29cd718c949c1b2c48681a90b0f647ed (patch)
tree417325b1d7c56154ec735b24b2d2211f2c757aba /tests/unit/draggable/draggable.html
parent94b852f1155d89ff52f3c59da736406b239dcca1 (diff)
downloadjquery-ui-dcac8c1f29cd718c949c1b2c48681a90b0f647ed.tar.gz
jquery-ui-dcac8c1f29cd718c949c1b2c48681a90b0f647ed.zip
Tests: Added ability to run tests against minified files via ?min=1
Diffstat (limited to 'tests/unit/draggable/draggable.html')
-rw-r--r--tests/unit/draggable/draggable.html16
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html
index e5006bf17..5be71f460 100644
--- a/tests/unit/draggable/draggable.html
+++ b/tests/unit/draggable/draggable.html
@@ -5,10 +5,18 @@
<title>jQuery UI Draggable Test Suite</title>
<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.mouse.js"></script>
- <script src="../../../ui/jquery.ui.draggable.js"></script>
+ <script src="../../resource_loader.js"></script>
+ <script>
+ loadResources({
+ css: [ "ui.core" ],
+ js: [
+ "ui/jquery.ui.core.js",
+ "ui/jquery.ui.widget.js",
+ "ui/jquery.ui.mouse.js",
+ "ui/jquery.ui.draggable.js"
+ ]
+ });
+ </script>
<link rel="stylesheet" href="../../../external/qunit.css">
<script src="../../../external/qunit.js"></script>