@@ -8,12 +8,12 @@ var feature = require('./feature');
88 * @extends geo.feature.spec
99 * @property {geo.colorObject[] } [colorRange] Color lookup table. Default is
1010 * 9-step color table.
11- * @property {function } [scale] A scale converts a input domain into the
11+ * @property {Function } [scale] A scale converts a input domain into the
1212 * the colorRange. Default is `d3.scaleQuantize()`.
13- * @property {function } [geoId] Given a geometry feature, return an identifier.
14- * @property {function } [scalarId] Given a scalar element, return an
13+ * @property {Function } [geoId] Given a geometry feature, return an identifier.
14+ * @property {Function } [scalarId] Given a scalar element, return an
1515 * identifier.
16- * @property {function } [scalarValue] Given a scalar element, return a numeric
16+ * @property {Function } [scalarValue] Given a scalar element, return a numeric
1717 * values.
1818 */
1919
@@ -82,7 +82,7 @@ var choroplethFeature = function (arg) {
8282 * @param {object[] } [data] An array of objects that are passed to the
8383 * `scalarId` and `scalarValue` functions to get the associated information
8484 * for each scalar.
85- * @param {function } [aggregator] The aggregator aggregates the scalar when
85+ * @param {Function } [aggregator] The aggregator aggregates the scalar when
8686 * there are multiple values with the same id. The default is `d3.mean`.
8787 * @returns {object[]|this } Either the current scalar data or the feature
8888 * instance.
@@ -165,7 +165,7 @@ var choroplethFeature = function (arg) {
165165 * @param {string } [key] If defined, return a function for the named
166166 * property. Otherwise, return an object with a function for all defined
167167 * properties.
168- * @returns {function |object } Either a function for the named property or an
168+ * @returns {Function |object } Either a function for the named property or an
169169 * object with functions for all defined properties.
170170 */
171171 this . choropleth . get = function ( key ) {
@@ -228,7 +228,7 @@ var choroplethFeature = function (arg) {
228228 /**
229229 * Set a choropleth scale's domain and range.
230230 *
231- * @param {function } valueAccessor A function that can be passed to
231+ * @param {Function } valueAccessor A function that can be passed to
232232 * `d3.extent`.
233233 * @returns {this }
234234 */
0 commit comments