Skip to content
Permalink
Browse files
Fixed the nested comment issue.
  • Loading branch information
jeresig committed Jul 30, 2006
1 parent ed867fe commit 879225b3ae8a519ff680b44285953d7db258606d
Showing 1 changed file with 4 additions and 4 deletions.
@@ -19,7 +19,7 @@ jQuery.fn.extend({
* @name toggle
* @type jQuery
* @param Function even The function to execute on every even click.
* @param Function odd The function to execute on every odd click.
* @param Function odd The function to execute on every odd click.
*/
toggle: function(a,b) {
// If two functions are passed in, we're
@@ -93,17 +93,17 @@ jQuery.fn.extend({
* In a nutshell, this is a solid replacement for using window.onload,
* and attaching a function to that. By using this method, your bound Function
* will be called the instant the DOM is ready to be read and manipulated,
* which is exactly what 99.99% of all Javascript code needs to run.
* which is exactly what 99.99% of all Javascript code needs to run.
*
* Please ensure you have no code in your <body> onload event handler,
* otherwise $(document).ready() may not fire.
*
* @example $(document).ready(function(){ /* Your code here... */ });
* @example $(document).ready(function(){ Your code here... });
*
* @name ready
* @type jQuery
* @param Function fn The function to be executed when the DOM is ready.
*/
*/
ready: function(f) {
// If the DOM is already ready
if ( jQuery.isReady )

0 comments on commit 879225b

Please sign in to comment.