<meta charset="utf-8">
<title>jQuery UI Position Test Suite</title>
- <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>
- TestHelpers.loadResources({
- js: [ "ui/position.js" ]
- });
- </script>
-
- <script src="position_core.js"></script>
-
- <script src="../swarminject.js"></script>
+ <script src="../../lib/css.js"></script>
+ <script src="../../lib/bootstrap.js" data-modules="position_core"></script>
</head>
<body>
<div id="qunit" style="position:relative; z-index:2;"></div>
-(function( $ ) {
+define( [
+ "jquery",
+ "lib/common",
+ "ui/position"
+], function( $, common ) {
var win = $( window ),
scrollTopSupport = function() {
}
});
-TestHelpers.testJshint( "position" );
+common.testJshint( "position" );
test( "my, at, of", function() {
expect( 4 );
}, "no flip - top fits less" );
});
-}( jQuery ) );
+} );