mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Change quotes according to style guidelines
Close gh-2339
This commit is contained in:
parent
c82a6685bb
commit
c577928d45
@ -18,8 +18,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('.absolute').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".absolute").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
var pos = $(this).position();
|
||||
$(this).css({ top: pos.top, left: pos.left });
|
||||
return false;
|
||||
|
@ -12,8 +12,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('body').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$("body").click(function() {
|
||||
$("marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
@ -16,8 +16,8 @@
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
window.scrollTo(1000,1000);
|
||||
$('.fixed').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".fixed").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
@ -13,8 +13,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('.relative').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".relative").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
var pos = $(this).position();
|
||||
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
||||
return false;
|
||||
|
@ -18,10 +18,10 @@
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
window.scrollTo(1000,1000);
|
||||
$('#scroll-1')[0].scrollLeft = 5;
|
||||
$('#scroll-1')[0].scrollTop = 5;
|
||||
$('.scroll').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$("#scroll-1")[0].scrollLeft = 5;
|
||||
$("#scroll-1")[0].scrollTop = 5;
|
||||
$(".scroll").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
@ -13,8 +13,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('.static').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$(".static").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
var pos = $(this).position();
|
||||
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
||||
return false;
|
||||
|
@ -13,8 +13,8 @@
|
||||
<script src="../../jquery.js"></script>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
jQuery(function($) {
|
||||
$('table, th, td').click(function() {
|
||||
$('#marker').css( $(this).offset() );
|
||||
$("table, th, td").click(function() {
|
||||
$("#marker").css( $(this).offset() );
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
@ -171,7 +171,7 @@ for ( var i=0; i < events.length; i++ ) {
|
||||
|
||||
$("#changes thead td").each(function(){
|
||||
var id = "#"+this.id,
|
||||
$cell = $('<td></td>');
|
||||
$cell = $("<td></td>");
|
||||
if ( api == "onX" ) {
|
||||
$(this).find("input, button, select, textarea").each(function(){
|
||||
this["on"+type] = function(e){ e = $.event.fix(e||event); e.data = $cell; blinker.call(this, e); };
|
||||
|
@ -17,7 +17,7 @@
|
||||
</style>
|
||||
<script src="jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
$('button').live('click', function () {
|
||||
$("button").live("click", function () {
|
||||
$.ajax({
|
||||
url: '/',
|
||||
error: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user