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 src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
jQuery(function($) {
|
jQuery(function($) {
|
||||||
$('.absolute').click(function() {
|
$(".absolute").click(function() {
|
||||||
$('#marker').css( $(this).offset() );
|
$("#marker").css( $(this).offset() );
|
||||||
var pos = $(this).position();
|
var pos = $(this).position();
|
||||||
$(this).css({ top: pos.top, left: pos.left });
|
$(this).css({ top: pos.top, left: pos.left });
|
||||||
return false;
|
return false;
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
<script src="../../jquery.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
jQuery(function($) {
|
jQuery(function($) {
|
||||||
$('body').click(function() {
|
$("body").click(function() {
|
||||||
$('#marker').css( $(this).offset() );
|
$("marker").css( $(this).offset() );
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
jQuery(function($) {
|
jQuery(function($) {
|
||||||
window.scrollTo(1000,1000);
|
window.scrollTo(1000,1000);
|
||||||
$('.fixed').click(function() {
|
$(".fixed").click(function() {
|
||||||
$('#marker').css( $(this).offset() );
|
$("#marker").css( $(this).offset() );
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
<script src="../../jquery.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
jQuery(function($) {
|
jQuery(function($) {
|
||||||
$('.relative').click(function() {
|
$(".relative").click(function() {
|
||||||
$('#marker').css( $(this).offset() );
|
$("#marker").css( $(this).offset() );
|
||||||
var pos = $(this).position();
|
var pos = $(this).position();
|
||||||
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
||||||
return false;
|
return false;
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
jQuery(function($) {
|
jQuery(function($) {
|
||||||
window.scrollTo(1000,1000);
|
window.scrollTo(1000,1000);
|
||||||
$('#scroll-1')[0].scrollLeft = 5;
|
$("#scroll-1")[0].scrollLeft = 5;
|
||||||
$('#scroll-1')[0].scrollTop = 5;
|
$("#scroll-1")[0].scrollTop = 5;
|
||||||
$('.scroll').click(function() {
|
$(".scroll").click(function() {
|
||||||
$('#marker').css( $(this).offset() );
|
$("#marker").css( $(this).offset() );
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
<script src="../../jquery.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
jQuery(function($) {
|
jQuery(function($) {
|
||||||
$('.static').click(function() {
|
$(".static").click(function() {
|
||||||
$('#marker').css( $(this).offset() );
|
$("#marker").css( $(this).offset() );
|
||||||
var pos = $(this).position();
|
var pos = $(this).position();
|
||||||
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
|
||||||
return false;
|
return false;
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
<script src="../../jquery.js"></script>
|
<script src="../../jquery.js"></script>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
jQuery(function($) {
|
jQuery(function($) {
|
||||||
$('table, th, td').click(function() {
|
$("table, th, td").click(function() {
|
||||||
$('#marker').css( $(this).offset() );
|
$("#marker").css( $(this).offset() );
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -171,7 +171,7 @@ for ( var i=0; i < events.length; i++ ) {
|
|||||||
|
|
||||||
$("#changes thead td").each(function(){
|
$("#changes thead td").each(function(){
|
||||||
var id = "#"+this.id,
|
var id = "#"+this.id,
|
||||||
$cell = $('<td></td>');
|
$cell = $("<td></td>");
|
||||||
if ( api == "onX" ) {
|
if ( api == "onX" ) {
|
||||||
$(this).find("input, button, select, textarea").each(function(){
|
$(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); };
|
this["on"+type] = function(e){ e = $.event.fix(e||event); e.data = $cell; blinker.call(this, e); };
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</style>
|
</style>
|
||||||
<script src="jquery.js"></script>
|
<script src="jquery.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('button').live('click', function () {
|
$("button").live("click", function () {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/',
|
url: '/',
|
||||||
error: function() {
|
error: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user