Fixed the nested comment issue.
This commit is contained in:
parent
ed867fe6f8
commit
879225b3ae
1 changed files 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 )
|
||||
|
|
Loading…
Reference in a new issue