Standardize on using double-quotes for string literals.
This commit is contained in:
parent
61e37d4149
commit
3776cbe314
8 changed files with 31 additions and 30 deletions
|
@ -230,6 +230,7 @@ jQuery.event = {
|
|||
if ( !elem ) {
|
||||
// Don't bubble custom events when global (to avoid too much overhead)
|
||||
event.stopPropagation();
|
||||
|
||||
// Only trigger if we've ever bound an event for it
|
||||
if ( this.global[ type ] ) {
|
||||
jQuery.each( jQuery.cache, function() {
|
||||
|
@ -824,8 +825,8 @@ jQuery.fn.extend({
|
|||
|
||||
return this.click( jQuery.event.proxy( fn, function( event ) {
|
||||
// Figure out which function to execute
|
||||
var lastToggle = ( jQuery.data( this, 'lastToggle' + fn.guid ) || 0 ) % i;
|
||||
jQuery.data( this, 'lastToggle' + fn.guid, lastToggle + 1 );
|
||||
var lastToggle = ( jQuery.data( this, "lastToggle" + fn.guid ) || 0 ) % i;
|
||||
jQuery.data( this, "lastToggle" + fn.guid, lastToggle + 1 );
|
||||
|
||||
// Make sure that clicks stop
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue