From df3570d5279f9c8bbb1824ea720dde9c8d05e521 Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Mon, 4 May 2015 16:17:14 -0700 Subject: [PATCH] A bunch of type fixes caught by the JSCompiler --- iron-multi-selectable.html | 2 +- iron-selectable.html | 16 ++++++++-------- iron-selection.html | 14 +++++++++----- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/iron-multi-selectable.html b/iron-multi-selectable.html index cdf16cf..91896d8 100644 --- a/iron-multi-selectable.html +++ b/iron-multi-selectable.html @@ -65,7 +65,7 @@ * `value` will be toggled; otherwise the `value` will be selected. * * @method select - * @param {String} value the value to select. + * @param {string} value the value to select. */ select: function(value) { if (this.multi) { diff --git a/iron-selectable.html b/iron-selectable.html index 4961d3a..bcfb6b2 100644 --- a/iron-selectable.html +++ b/iron-selectable.html @@ -21,7 +21,7 @@ * set this to the name of the attribute. * * @attribute attrForSelected - * @type String + * @type {string} */ attrForSelected: { type: String, @@ -32,7 +32,7 @@ * Gets or sets the selected element. The default is to use the index of the item. * * @attribute selected - * @type String + * @type {string} */ selected: { type: String, @@ -43,7 +43,7 @@ * Returns the currently selected item. * * @attribute selectedItem - * @type Object + * @type {Object} */ selectedItem: { type: Object, @@ -57,7 +57,7 @@ * Set to empty string to listen to no events. * * @attribute activateEvent - * @type String + * @type {string} * @default 'click' */ activateEvent: { @@ -71,7 +71,7 @@ * are selectable. * * @attribute selectable - * @type String + * @type {string} */ selectable: String, @@ -79,7 +79,7 @@ * The class to set on elements when selected. * * @attribute selectedClass - * @type String + * @type {string} */ selectedClass: { type: String, @@ -90,7 +90,7 @@ * The attribute to set on elements when selected. * * @attribute selectedAttribute - * @type String + * @type {string} */ selectedAttribute: { type: String, @@ -154,7 +154,7 @@ * Selects the given value. * * @method select - * @param {String} value the value to select. + * @param {string} value the value to select. */ select: function(value) { this.selected = value; diff --git a/iron-selection.html b/iron-selection.html index 0177199..0ff04cf 100644 --- a/iron-selection.html +++ b/iron-selection.html @@ -12,6 +12,10 @@