diff options
author | Julian Alexander Murillo <julian.alexander.murillo@gmail.com> | 2015-05-20 23:59:06 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2015-10-18 13:17:23 -0400 |
commit | c577928d45bdcc3ee8f93da89ab7aadca21919f3 (patch) | |
tree | 01cccd63a2e7d77a32c0490f20bc2c3212454ecf /test/data/offset | |
parent | c82a6685bb964627e27008e298f93ea81218265b (diff) | |
download | jquery-c577928d45bdcc3ee8f93da89ab7aadca21919f3.tar.gz jquery-c577928d45bdcc3ee8f93da89ab7aadca21919f3.zip |
Tests: Change quotes according to style guidelines
Close gh-2339
Diffstat (limited to 'test/data/offset')
-rw-r--r-- | test/data/offset/absolute.html | 4 | ||||
-rw-r--r-- | test/data/offset/body.html | 4 | ||||
-rw-r--r-- | test/data/offset/fixed.html | 4 | ||||
-rw-r--r-- | test/data/offset/relative.html | 4 | ||||
-rw-r--r-- | test/data/offset/scroll.html | 8 | ||||
-rw-r--r-- | test/data/offset/static.html | 4 | ||||
-rw-r--r-- | test/data/offset/table.html | 4 |
7 files changed, 16 insertions, 16 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 3ac054837..e81186625 100644 --- a/test/data/offset/relative.html +++ b/test/data/offset/relative.html @@ -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; 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; }); }); |