Moves Deferred-related code into a separate module. Context handling has been simplif...
[jquery.git] / test / data / offset / body.html
index 9a692e8..8dbf282 100644 (file)
@@ -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>