diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-10-28 15:58:33 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-10-28 15:58:33 -0400 |
commit | dcac8c1f29cd718c949c1b2c48681a90b0f647ed (patch) | |
tree | 417325b1d7c56154ec735b24b2d2211f2c757aba /tests/unit/position | |
parent | 94b852f1155d89ff52f3c59da736406b239dcca1 (diff) | |
download | jquery-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/position')
-rw-r--r-- | tests/unit/position/position.html | 7 | ||||
-rw-r--r-- | tests/unit/position/position_deprecated.html | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html index a3a97911c..17ee20258 100644 --- a/tests/unit/position/position.html +++ b/tests/unit/position/position.html @@ -8,7 +8,12 @@ <script> $.uiBackCompat = false; </script> - <script src="../../../ui/jquery.ui.position.js"></script> + <script src="../../resource_loader.js"></script> + <script> + loadResources({ + js: [ "ui/jquery.ui.position.js" ] + }); + </script> <link rel="stylesheet" href="../../../external/qunit.css"> <script src="../../../external/qunit.js"></script> diff --git a/tests/unit/position/position_deprecated.html b/tests/unit/position/position_deprecated.html index c80490f74..ee9be189d 100644 --- a/tests/unit/position/position_deprecated.html +++ b/tests/unit/position/position_deprecated.html @@ -5,7 +5,12 @@ <title>jQuery UI Position Test Suite</title> <script src="../../jquery.js"></script> - <script src="../../../ui/jquery.ui.position.js"></script> + <script src="../../resource_loader.js"></script> + <script> + loadResources({ + js: [ "ui/jquery.ui.position.js" ] + }); + </script> <link rel="stylesheet" href="../../../external/qunit.css"> <script src="../../../external/qunit.js"></script> |