]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: fix the jsdoc annotations of the tabs component 10963/head
authorDaniel Ruf <daniel@daniel-ruf.de>
Tue, 20 Feb 2018 22:14:40 +0000 (23:14 +0100)
committerDaniel Ruf <daniel@daniel-ruf.de>
Tue, 20 Feb 2018 22:14:40 +0000 (23:14 +0100)
js/foundation.tabs.js

index c6380d2b7d62be34aa08c6c7904bf55c807daf09..8c19264fcc89f3ccc8a0fc50bfa872b4967f8f40 100644 (file)
@@ -273,7 +273,7 @@ class Tabs extends Plugin {
 
   /**
    * Opens the tab `$targetContent` defined by `$target`.
-   * @param {jQuery} $target - Tab to Open.
+   * @param {jQuery} $target - Tab to open.
    * @function
    */
   _openTab($target) {
@@ -294,7 +294,7 @@ class Tabs extends Plugin {
 
   /**
    * Collapses `$targetContent` defined by `$target`.
-   * @param {jQuery} $target - Tab to Open.
+   * @param {jQuery} $target - Tab to collapse.
    * @function
    */
   _collapseTab($target) {
@@ -373,7 +373,7 @@ class Tabs extends Plugin {
   }
 
   /**
-   * Destroys an instance of an tabs.
+   * Destroys an instance of tabs.
    * @fires Tabs#destroyed
    */
   _destroy() {