diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-10 14:06:28 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-11 17:12:55 +0100 |
commit | d92cbf51493f0aa15745d2f9545cba2372eecec3 (patch) | |
tree | 349a555a74c99b40c20fcc470c26b7f7c0029f8d /core/src/jquery | |
parent | 7484abb6c07f2296abc2040ecd747ddf1d65e98e (diff) | |
download | nextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.tar.gz nextcloud-server-d92cbf51493f0aa15745d2f9545cba2372eecec3.zip |
Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core/src/jquery')
-rw-r--r-- | core/src/jquery/exists.js | 2 | ||||
-rw-r--r-- | core/src/jquery/filterattr.js | 2 | ||||
-rw-r--r-- | core/src/jquery/octemplate.js | 16 | ||||
-rw-r--r-- | core/src/jquery/selectrange.js | 6 | ||||
-rw-r--r-- | core/src/jquery/showpassword.js | 27 |
5 files changed, 26 insertions, 27 deletions
diff --git a/core/src/jquery/exists.js b/core/src/jquery/exists.js index 4006982a8b6..0cd0cb0053c 100644 --- a/core/src/jquery/exists.js +++ b/core/src/jquery/exists.js @@ -27,7 +27,7 @@ import $ from 'jquery' * check if an element exists. * allows you to write if ($('#myid').exists()) to increase readability * - * @link http://stackoverflow.com/questions/31044/is-there-an-exists-function-for-jquery + * @see {@link http://stackoverflow.com/questions/31044/is-there-an-exists-function-for-jquery} * @return {boolean} */ $.fn.exists = function() { diff --git a/core/src/jquery/filterattr.js b/core/src/jquery/filterattr.js index fb8d45c4dd3..f6b4d8063d3 100644 --- a/core/src/jquery/filterattr.js +++ b/core/src/jquery/filterattr.js @@ -28,7 +28,7 @@ import $ from 'jquery' * * @param {string} attrName attribute name * @param {string} attrValue attribute value - * @return {Void} + * @return {void} */ $.fn.filterAttr = function(attrName, attrValue) { return this.filter(function() { diff --git a/core/src/jquery/octemplate.js b/core/src/jquery/octemplate.js index 9e060881e21..fb818f5ac7c 100644 --- a/core/src/jquery/octemplate.js +++ b/core/src/jquery/octemplate.js @@ -65,14 +65,14 @@ import escapeHTML from 'escape-html' * var contacts = // fetched in some ajax call * * $.each(contacts, function(idx, contact) { - * $contactList.append( - * $tmpl.octemplate({ - * id: contact.getId(), - * name: contact.getDisplayName(), - * email: contact.getPreferredEmail(), - * phone: contact.getPreferredPhone(), - * }); - * ); + * $contactList.append( + * $tmpl.octemplate({ + * id: contact.getId(), + * name: contact.getDisplayName(), + * email: contact.getPreferredEmail(), + * phone: contact.getPreferredPhone(), + * }); + * ); * }); */ /** diff --git a/core/src/jquery/selectrange.js b/core/src/jquery/selectrange.js index b8f0d3dc122..f110bdbc501 100644 --- a/core/src/jquery/selectrange.js +++ b/core/src/jquery/selectrange.js @@ -27,9 +27,9 @@ import $ from 'jquery' * select a range in an input field * * @link http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area - * @param {int} start start selection from - * @param {int} end number of char from start - * @return {Void} + * @param {number} start start selection from + * @param {number} end number of char from start + * @return {void} */ $.fn.selectRange = function(start, end) { return this.each(function() { diff --git a/core/src/jquery/showpassword.js b/core/src/jquery/showpassword.js index 3423ea5fc17..2681619efad 100644 --- a/core/src/jquery/showpassword.js +++ b/core/src/jquery/showpassword.js @@ -23,20 +23,19 @@ import $ from 'jquery' -/* -* @name Show Password -* @description -* @version 1.3 -* @requires Jquery 1.5 -* -* @author Jan Jarfalk -* @author-email jan.jarfalk@unwrongest.com -* @author-website http://www.unwrongest.com -* -* @special-thanks Michel Gratton -* -* @licens MIT License - http://www.opensource.org/licenses/mit-license.php -*/ +/** + * @name Show Password + * @description + * @version 1.3.0 + * @requires Jquery 1.5 + * + * @author Jan Jarfalk <jan.jarfalk@unwrongest.com> + * author-website http://www.unwrongest.com + * + * special-thanks Michel Gratton + * + * @license MIT + */ $.fn.extend({ showPassword(c) { |