diff options
author | Karl Swedberg <karl@englishrules.com> | 2009-11-28 03:31:28 +0800 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-11-28 04:09:14 +0800 |
commit | 255068da33e3d131b3a641c041fb8cecb1543fa4 (patch) | |
tree | cf5c4bd6b3535e6e354f9a8870d7c9c4b4fbddf1 | |
parent | a5efe9d3a6074ea39f677fdf21132badb0644bd3 (diff) | |
download | jquery-255068da33e3d131b3a641c041fb8cecb1543fa4.tar.gz jquery-255068da33e3d131b3a641c041fb8cecb1543fa4.zip |
added missing semicolons
-rw-r--r-- | src/data.js | 2 | ||||
-rw-r--r-- | src/traversing.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/data.js b/src/data.js index f4dad1636..079cf99d5 100644 --- a/src/data.js +++ b/src/data.js @@ -163,7 +163,7 @@ jQuery.fn.extend({ }, dequeue: function(type){ return this.each(function(){ - jQuery.dequeue( this, type ) + jQuery.dequeue( this, type ); }); }, clearQueue: function(type){ diff --git a/src/traversing.js b/src/traversing.js index a467e7c9e..b5a5a2dee 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -6,9 +6,9 @@ var winnow = function( elements, qualifier, keep ) { } else if( qualifier.nodeType ) { return jQuery.grep(elements, function(elem, i) { return (elem === qualifier) === keep; - }) + }); } else if( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function(elem) { return elem.nodeType === 1 }); + var filtered = jQuery.grep(elements, function(elem) { return elem.nodeType === 1; }); if(isSimple.test( qualifier )) { return jQuery.filter(qualifier, filtered, !keep); @@ -20,7 +20,7 @@ var winnow = function( elements, qualifier, keep ) { return jQuery.grep(elements, function(elem, i) { return (jQuery.inArray( elem, qualifier ) >= 0) === keep; }); -} +}; jQuery.fn.extend({ find: function( selector ) { |