Skip to content

Commit c577928

Browse files
64linestimmywil
authored andcommitted
Tests: Change quotes according to style guidelines
Close jquerygh-2339
1 parent c82a668 commit c577928

9 files changed

+18
-18
lines changed

test/data/offset/absolute.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
<script src="../../jquery.js"></script>
1919
<script type="text/javascript" charset="utf-8">
2020
jQuery(function($) {
21-
$('.absolute').click(function() {
22-
$('#marker').css( $(this).offset() );
21+
$(".absolute").click(function() {
22+
$("#marker").css( $(this).offset() );
2323
var pos = $(this).position();
2424
$(this).css({ top: pos.top, left: pos.left });
2525
return false;

test/data/offset/body.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<script src="../../jquery.js"></script>
1313
<script type="text/javascript" charset="utf-8">
1414
jQuery(function($) {
15-
$('body').click(function() {
16-
$('#marker').css( $(this).offset() );
15+
$("body").click(function() {
16+
$("marker").css( $(this).offset() );
1717
return false;
1818
});
1919
});

test/data/offset/fixed.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<script type="text/javascript" charset="utf-8">
1717
jQuery(function($) {
1818
window.scrollTo(1000,1000);
19-
$('.fixed').click(function() {
20-
$('#marker').css( $(this).offset() );
19+
$(".fixed").click(function() {
20+
$("#marker").css( $(this).offset() );
2121
return false;
2222
});
2323
});

test/data/offset/relative.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<script src="../../jquery.js"></script>
1414
<script type="text/javascript" charset="utf-8">
1515
jQuery(function($) {
16-
$('.relative').click(function() {
17-
$('#marker').css( $(this).offset() );
16+
$(".relative").click(function() {
17+
$("#marker").css( $(this).offset() );
1818
var pos = $(this).position();
1919
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
2020
return false;

test/data/offset/scroll.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
<script type="text/javascript" charset="utf-8">
1919
jQuery(function($) {
2020
window.scrollTo(1000,1000);
21-
$('#scroll-1')[0].scrollLeft = 5;
22-
$('#scroll-1')[0].scrollTop = 5;
23-
$('.scroll').click(function() {
24-
$('#marker').css( $(this).offset() );
21+
$("#scroll-1")[0].scrollLeft = 5;
22+
$("#scroll-1")[0].scrollTop = 5;
23+
$(".scroll").click(function() {
24+
$("#marker").css( $(this).offset() );
2525
return false;
2626
});
2727
});

test/data/offset/static.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<script src="../../jquery.js"></script>
1414
<script type="text/javascript" charset="utf-8">
1515
jQuery(function($) {
16-
$('.static').click(function() {
17-
$('#marker').css( $(this).offset() );
16+
$(".static").click(function() {
17+
$("#marker").css( $(this).offset() );
1818
var pos = $(this).position();
1919
$(this).css({ position: 'absolute', top: pos.top, left: pos.left });
2020
return false;

test/data/offset/table.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<script src="../../jquery.js"></script>
1414
<script type="text/javascript" charset="utf-8">
1515
jQuery(function($) {
16-
$('table, th, td').click(function() {
17-
$('#marker').css( $(this).offset() );
16+
$("table, th, td").click(function() {
17+
$("#marker").css( $(this).offset() );
1818
return false;
1919
});
2020
});

test/delegatetest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ <h2>Submit Tests</h2>
171171

172172
$("#changes thead td").each(function(){
173173
var id = "#"+this.id,
174-
$cell = $('<td></td>');
174+
$cell = $("<td></td>");
175175
if ( api == "onX" ) {
176176
$(this).find("input, button, select, textarea").each(function(){
177177
this["on"+type] = function(e){ e = $.event.fix(e||event); e.data = $cell; blinker.call(this, e); };

test/networkerror.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</style>
1818
<script src="jquery.js"></script>
1919
<script type="text/javascript">
20-
$('button').live('click', function () {
20+
$("button").live("click", function () {
2121
$.ajax({
2222
url: '/',
2323
error: function() {

0 commit comments

Comments
 (0)