aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Alexander Murillo <julian.alexander.murillo@gmail.com>2015-05-20 23:59:06 -0500
committerRichard Gibson <richard.gibson@gmail.com>2015-10-25 15:07:50 -0400
commit52491ae3f0e2455b31686ec611546dc99e30d944 (patch)
treeb74d6e50524481898dbffa40a44e586a48f5c208
parent657c2f818075111684ff8e0406dbb74f2b8cdc21 (diff)
downloadjquery-52491ae3f0e2455b31686ec611546dc99e30d944.tar.gz
jquery-52491ae3f0e2455b31686ec611546dc99e30d944.zip
Tests: Change quotes according to style guidelines
Close gh-2339 (cherry picked from commit c577928d45bdcc3ee8f93da89ab7aadca21919f3)
-rw-r--r--test/data/offset/absolute.html4
-rw-r--r--test/data/offset/body.html4
-rw-r--r--test/data/offset/fixed.html4
-rw-r--r--test/data/offset/relative.html4
-rw-r--r--test/data/offset/scroll.html8
-rw-r--r--test/data/offset/static.html4
-rw-r--r--test/data/offset/table.html4
-rw-r--r--test/delegatetest.html2
-rw-r--r--test/networkerror.html2
9 files changed, 18 insertions, 18 deletions
diff --git a/test/data/offset/absolute.html b/test/data/offset/absolute.html
index 7665d7aac..58f0cbd2a 100644
--- a/test/data/offset/absolute.html
+++ b/test/data/offset/absolute.html
@@ -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;
diff --git a/test/data/offset/body.html b/test/data/offset/body.html
index 6dc3d3754..c0de297b7 100644
--- a/test/data/offset/body.html
+++ b/test/data/offset/body.html
@@ -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;
});
});
diff --git a/test/data/offset/fixed.html b/test/data/offset/fixed.html
index 7564f085e..c695ba4dd 100644
--- a/test/data/offset/fixed.html
+++ b/test/data/offset/fixed.html
@@ -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;
});
});
diff --git a/test/data/offset/relative.html b/test/data/offset/relative.html
index 317006994..f88c82ab9 100644
--- a/test/data/offset/relative.html
+++ b/test/data/offset/relative.html
@@ -14,8 +14,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;
diff --git a/test/data/offset/scroll.html b/test/data/offset/scroll.html
index ad35ab84a..c8c08020f 100644
--- a/test/data/offset/scroll.html
+++ b/test/data/offset/scroll.html
@@ -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;
});
});
diff --git a/test/data/offset/static.html b/test/data/offset/static.html
index 1e6ab7c4c..f8cafa882 100644
--- a/test/data/offset/static.html
+++ b/test/data/offset/static.html
@@ -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;
diff --git a/test/data/offset/table.html b/test/data/offset/table.html
index 5510e2b9b..ff2b8579e 100644
--- a/test/data/offset/table.html
+++ b/test/data/offset/table.html
@@ -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;
});
});
diff --git a/test/delegatetest.html b/test/delegatetest.html
index 119b63a73..d3225196e 100644
--- a/test/delegatetest.html
+++ b/test/delegatetest.html
@@ -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); };
diff --git a/test/networkerror.html b/test/networkerror.html
index edbaabab4..8057408e4 100644
--- a/test/networkerror.html
+++ b/test/networkerror.html
@@ -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() {