Skip to content

Commit 2d515b8

Browse files
committed
Just a little jsdocs normalization
1 parent b6e1d2a commit 2d515b8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

public/jquery.selectric.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
/**
218218
* Transform array list to concatenated string and remove empty values
219219
* @param {array} arr - Class list
220-
* @return {string} - Concatenated string
220+
* @return {string} Concatenated string
221221
*/
222222
arrayToClassname: function(arr) {
223223
var newArr = $.grep(arr, function(item) {
@@ -483,7 +483,7 @@
483483
* @param {integer} index - Current item index
484484
* @param {node} $elm - Current element node
485485
* @param {boolean} isDisabled - Current element disabled state
486-
* @return {object} - Item object
486+
* @return {object} Item object
487487
*/
488488
getItemData: function(index, $elm, isDisabled) {
489489
var _this = this;
@@ -542,9 +542,9 @@
542542
/**
543543
* Generate every option markup
544544
*
545-
* @param {number} index - Index of current item
545+
* @param {number} index - Index of current item
546546
* @param {object} itemData - Current item
547-
* @return {string} HTML for the option
547+
* @return {string} HTML for the option
548548
*/
549549
getItemMarkup: function(index, itemData) {
550550
var _this = this;
@@ -974,7 +974,7 @@
974974
/**
975975
* Select option
976976
*
977-
* @param {number} index - Index of the option that will be selected
977+
* @param {number} index - Index of the option that will be selected
978978
*/
979979
select: function(index) {
980980
var _this = this;

src/jquery.selectric.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
/**
201201
* Transform array list to concatenated string and remove empty values
202202
* @param {array} arr - Class list
203-
* @return {string} - Concatenated string
203+
* @return {string} Concatenated string
204204
*/
205205
arrayToClassname: function(arr) {
206206
var newArr = $.grep(arr, function(item) {
@@ -466,7 +466,7 @@
466466
* @param {integer} index - Current item index
467467
* @param {node} $elm - Current element node
468468
* @param {boolean} isDisabled - Current element disabled state
469-
* @return {object} - Item object
469+
* @return {object} Item object
470470
*/
471471
getItemData: function(index, $elm, isDisabled) {
472472
var _this = this;
@@ -525,9 +525,9 @@
525525
/**
526526
* Generate every option markup
527527
*
528-
* @param {number} index - Index of current item
528+
* @param {number} index - Index of current item
529529
* @param {object} itemData - Current item
530-
* @return {string} HTML for the option
530+
* @return {string} HTML for the option
531531
*/
532532
getItemMarkup: function(index, itemData) {
533533
var _this = this;
@@ -957,7 +957,7 @@
957957
/**
958958
* Select option
959959
*
960-
* @param {number} index - Index of the option that will be selected
960+
* @param {number} index - Index of the option that will be selected
961961
*/
962962
select: function(index) {
963963
var _this = this;

0 commit comments

Comments
 (0)