Tests: Change quotes according to style guidelines

Close gh-2339

(cherry picked from commit c577928d45)
This commit is contained in:
Julian Alexander Murillo 2015-05-20 23:59:06 -05:00 committed by Richard Gibson
parent 657c2f8180
commit 52491ae3f0
9 changed files with 18 additions and 18 deletions

View 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;

View 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;
});
});

View 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;
});
});

View 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;

View File

@ -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;
});
});

View 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;

View 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;
});
});

View 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); };

View 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() {