]> source.dussan.org Git - jquery.git/commitdiff
added missing semicolons
authorKarl Swedberg <karl@englishrules.com>
Fri, 27 Nov 2009 19:31:28 +0000 (03:31 +0800)
committerJohn Resig <jeresig@gmail.com>
Fri, 27 Nov 2009 20:09:14 +0000 (04:09 +0800)
src/data.js
src/traversing.js

index f4dad16366d7f0aa0f68ecb2aead2beb6beb4a76..079cf99d54e7221ab4b3c3dec626885eee822871 100644 (file)
@@ -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){
index a467e7c9eaa616831c07ae19b238e64ad782247f..b5a5a2dee176a9fd68bb1f91fb88aba606cb30c8 100644 (file)
@@ -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 ) {