Fixed documentation for bind(String, Function) - added a small fix for the first...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 9 Sep 2006 08:36:47 +0000 (08:36 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 9 Sep 2006 08:36:47 +0000 (08:36 +0000)
src/jquery/jquery.js

index f997aaf..1ca039b 100644 (file)
@@ -3167,7 +3167,7 @@ jQuery.macros = {
                 *   alert( $(this).text() );
                 * } )
                 * @before <p>Hello</p>
-                * @result Hello
+                * @result alert("Hello")
                 *
                 * @example $("form").bind( "submit", function() { return false; } )
                 * @desc Cancel a default action and prevent it from bubbling by returning false