]> source.dussan.org Git - jquery.git/commitdiff
Tests: Change quotes according to style guidelines
authorJulian Alexander Murillo <julian.alexander.murillo@gmail.com>
Thu, 21 May 2015 04:59:06 +0000 (23:59 -0500)
committerRichard Gibson <richard.gibson@gmail.com>
Sun, 25 Oct 2015 19:07:50 +0000 (15:07 -0400)
Close gh-2339

(cherry picked from commit c577928d45bdcc3ee8f93da89ab7aadca21919f3)

test/data/offset/absolute.html
test/data/offset/body.html
test/data/offset/fixed.html
test/data/offset/relative.html
test/data/offset/scroll.html
test/data/offset/static.html
test/data/offset/table.html
test/delegatetest.html
test/networkerror.html

index 7665d7aac5adb591e3caface2ac74323fa89ed95..58f0cbd2a365107b1cfea9c8684cc4ce2b26dc6d 100644 (file)
@@ -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;
index 6dc3d3754fab62e77f0e0970a0000a5bea7a9231..c0de297b72344cff7c94d3e2228da6b43e068090 100644 (file)
@@ -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;
                                });
                        });
index 7564f085e53a9f63528cd859827e51db4dd5de90..c695ba4ddada26c6c2475ee7b401c681dd1f8f09 100644 (file)
@@ -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;
                                });
                        });
index 317006994f0c44bb83ae72c7017b020d562882ae..f88c82ab94610a730e1b8f2d63a69587af605150 100644 (file)
@@ -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;
index ad35ab84a387f3d54dd938970ae97b10eadee936..c8c08020fa1f249dbce5edf57d48a74dc157b90c 100644 (file)
                <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;
                                });
                        });
index 1e6ab7c4c0e178c25f0e52a5d5091df783d9df5a..f8cafa882858b5ce74fb23415e41c66a3b2fb2f4 100644 (file)
@@ -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;
index 5510e2b9b36037fb00358730a76964ae6568a321..ff2b8579e7692a4a6eb44ead04b7c33703728026 100644 (file)
@@ -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;
                                });
                        });
index 119b63a73124f14940b2519dd4bbe4f4880241e9..d3225196ee82ee1b2e77c3c9eb3b3cb5e16ada0e 100644 (file)
@@ -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); };
index edbaabab42bf59a61206c6e7e0dcb27977282b24..8057408e46b54224c8a372f47de057d67559f029 100644 (file)
@@ -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() {