X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=7a59a4ea6db6a25d763b6b3b3e3fae71ae56b403;hb=e7669f64d88612884df27c5744558191f8e6c8b1;hp=9edd75865a43afdf519fa94e0f72271c9ac60ef3;hpb=96d429b940be462d5908d9a79fbcb2717f9211e5;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 9edd758..7a59a4e 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1387,7 +1387,7 @@ jQuery.extend({ fn.apply( obj[i], args || [i, obj[i]] ); else for ( var i = 0; i < obj.length; i++ ) - fn.apply( obj[i], args || [i, obj[i]] ); + if ( fn.apply( obj[i], args || [i, obj[i]] ) === false ) break; return obj; }, @@ -1661,9 +1661,9 @@ jQuery.extend({ * t( "Attribute Exists", "*[@title]", ["google"] ); * t( "Attribute Exists", "[@title]", ["google"] ); * - * t( "Non-existing part of attribute [@name*=bla]", "[@name*=bla]", [] ); - * t( "Non-existing start of attribute [@name^=bla]", "[@name^=bla]", [] ); - * t( "Non-existing end of attribute [@name$=bla]", "[@name$=bla]", [] ); + * t( "Non-existing part of attribute", "[@name*=bla]", [] ); + * t( "Non-existing start of attribute", "[@name^=bla]", [] ); + * t( "Non-existing end of attribute", "[@name$=bla]", [] ); * * t( "Attribute Equals", "a[@rel='bookmark']", ["simon1"] ); * t( "Attribute Equals", 'a[@rel="bookmark"]', ["simon1"] ); @@ -2694,7 +2694,7 @@ jQuery.macros = { /** * Set the value of every matched element. * - * @example $("input").value("test"); + * @example $("input").val("test"); * @before * @result *