From 6f8e28dfe0eb4ad75b85b59342132f9f2f5560de Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Wed, 1 Jun 2016 19:10:16 -0700 Subject: [PATCH] fix function comment --- src/components/Select.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/components/Select.vue b/src/components/Select.vue index 34a8a1b..65b866d 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -265,18 +265,13 @@ }, /** - * + * Callback to generate the label text. If {option} + * is an object, returns option[this.label] by default. + * @param {Object || String} option + * @return {String} */ getOptionLabel: { type: Function, - - /** - * Generate the option label text. If {option} - * is an object, return option[this.label]. - * - * @param {Object || String} option - * @return {String} - */ default(option) { if( typeof option === 'object' ) { if( this.label && option[this.label] ) {