Fixed documentation for bind(String, Function) - added a small fix for the first...
[jquery.git] / 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