aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/offset/body.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/offset/body.html')
-rw-r--r--test/data/offset/body.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/data/offset/body.html b/test/data/offset/body.html
index 9a692e800..8dbf282df 100644
--- a/test/data/offset/body.html
+++ b/test/data/offset/body.html
@@ -9,6 +9,7 @@
#marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
</style>
<script src="../../../src/core.js"></script>
+ <script src="../../../src/deferred.js"></script>
<script src="../../../src/support.js"></script>
<script src="../../../src/sizzle/sizzle.js"></script>
<script src="../../../src/sizzle-jquery.js"></script>
@@ -18,7 +19,7 @@
<script src="../../../src/css.js"></script>
<script src="../../../src/offset.js"></script>
<script type="text/javascript" charset="utf-8">
- $(function() {
+ jQuery(function($) {
$('body').click(function() {
$('#marker').css( $(this).offset() );
return false;
@@ -29,4 +30,4 @@
<body>
<div id="marker"></div>
</body>
-</html> \ No newline at end of file
+</html>