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
This commit is contained in:
parent
02ca45573b
commit
c50b74372c
9 changed files with 15 additions and 14 deletions
|
@ -18,7 +18,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 +29,4 @@
|
|||
<body>
|
||||
<div id="marker"></div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue