diff options
author | Alex Sexton <AlexSexton@gmail.com> | 2011-01-23 21:19:33 -0600 |
---|---|---|
committer | Alex Sexton <AlexSexton@gmail.com> | 2011-01-23 21:19:33 -0600 |
commit | c50b74372c398b0c85164ad01977c5118b55d418 (patch) | |
tree | c14f176556b158ab665336247d36a0016116048c /test/data/offset/relative.html | |
parent | 02ca45573b8428f16e3eddb41f8fc50867bbda1b (diff) | |
download | jquery-c50b74372c398b0c85164ad01977c5118b55d418.tar.gz jquery-c50b74372c398b0c85164ad01977c5118b55d418.zip |
Moved jQuery global leak to end of file so accidental gEBCN overrides in prototype don't get caught up in confusion. Fixed tests to reference jQuery variable instead of $ (best practice). Fixes #8033
Diffstat (limited to 'test/data/offset/relative.html')
-rw-r--r-- | test/data/offset/relative.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/data/offset/relative.html b/test/data/offset/relative.html index bfcd147c3..35864760e 100644 --- a/test/data/offset/relative.html +++ b/test/data/offset/relative.html @@ -20,7 +20,7 @@ <script src="../../../src/css.js"></script> <script src="../../../src/offset.js"></script> <script type="text/javascript" charset="utf-8"> - $(function() { + jQuery(function($) { $('.relative').click(function() { $('#marker').css( $(this).offset() ); var pos = $(this).position(); @@ -36,4 +36,4 @@ <div id="marker"></div> <p class="instructions">Click the white box to move the marker to it. Clicking the box also changes the position to absolute (if not already) and sets the position according to the position method.</p> </body> -</html>
\ No newline at end of file +</html> |