Fix a few comment typos noticed when doing JS review
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 11 Aug 2011 14:47:18 +0000 (14:47 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 11 Aug 2011 14:47:18 +0000 (14:47 +0000)
resources/mediawiki.page/mediawiki.page.ajaxCategories.init.js
resources/mediawiki.page/mediawiki.page.ajaxCategories.js
resources/mediawiki.page/mediawiki.page.ready.js
resources/mediawiki/mediawiki.util.js

index a82cf3f..a90342f 100644 (file)
@@ -1,6 +1,6 @@
 mw.page.ajaxCategories = new mw.ajaxCategories();
 jQuery( document ).ready( function(){
-       // Seperate function for call to prevent jQuery
+       // Separate function for call to prevent jQuery
        // from executing it in the document context.
        mw.page.ajaxCategories.setup();
 } );
index ca34051..9f4b478 100644 (file)
@@ -446,7 +446,7 @@ mw.ajaxCategories.prototype = {
         * @return {jQuery}
         */
        createCatLink: function( cat ) {
-               // User can implicitely state a sort key.
+               // User can implicitly state a sort key.
                // Remove before display.
                // strip out bad characters
                cat = clean( cat.replace( /\|.*/, '' ) );
@@ -517,7 +517,7 @@ mw.ajaxCategories.prototype = {
        },
 
        /**
-        * Execute or queue an category add.
+        * Execute or queue a category add.
         * @param $link {jQuery}
         * @param category
         * @param noAppend
@@ -594,7 +594,7 @@ mw.ajaxCategories.prototype = {
        },
 
        /**
-        * Execute or queue an category edit.
+        * Execute or queue a category edit.
         * @param $link {jQuery}
         * @param category
         * @param categoryNew
@@ -771,7 +771,7 @@ mw.ajaxCategories.prototype = {
        },
 
        /**
-        * Execute or queue an category delete.
+        * Execute or queue a category delete.
         *
         * @param $link {jQuery}
         * @param category
index eba5db1..370c3a1 100644 (file)
@@ -5,7 +5,7 @@ jQuery( document ).ready( function( $ ) {
                $( 'input[placeholder]' ).placeholder();
        }
 
-       /* Enable makeCollapse */
+       /* Enable makeCollapsible */
        $( '.mw-collapsible' ).makeCollapsible();
 
        /* Lazy load jquery.tablesorter */
index ac8aa25..a720f58 100644 (file)
@@ -15,7 +15,7 @@
                        if ( this.initialised === false ) {
                                this.initialised = true;
 
-                               // Folllowing the initialisation after the DOM is ready
+                               // Following the initialisation after the DOM is ready
                                $(document).ready( function() {
 
                                        /* Set up $.messageBox */