Fix how some styles are documented.
We stated that opacity was used for entire features, but this isn't
true, so fix the docs.
MODIFY
src/contourFeature.js
src/contourFeature.js
@@ -26,6 +26,8 @@ var meshFeature = require('./meshFeature');
* This defaults to the `z` property of the data elements. If the value of
* a grid point is `null` or `undefined`, the point and elements that use
* that point won't be included in the results.
+ * @property {number|function} [opacity=1] The opacity for the whole feature on
+ * a scale of 0 to 1.
*/
/**

MODIFY
src/feature.js
src/feature.js
@@ -43,8 +43,6 @@ var geo_event = require('./event');
* Style specification for a feature.
*
* @typedef {object} geo.feature.styleSpec
- * @property {number|function} [opacity=1] The opacity for the whole feature on
- * a scale of 0 to 1.
*/
/**
@@ -837,7 +835,7 @@ var feature = function (arg) {
}
m_style = $.extend(
{},
- {'opacity': 1.0},
+ {opacity: 1.0},
arg.style === undefined ? {} : arg.style);
m_this._bindMouseHandlers();
m_ready = true;

MODIFY
src/isolineFeature.js
src/isolineFeature.js
@@ -510,8 +510,8 @@ var isolineFeature = function (arg) {
};
/**
- * When the feature is marked as modified, mark our sub-feature as
- * modified, too.
+ * Update the timestamp to the next global timestamp value. Mark
+ * sub-features as modified, too.
*
* @returns {object} The results of the superclass modified function.
*/

MODIFY
src/polygonFeature.js
src/polygonFeature.js
@@ -401,8 +401,8 @@ var polygonFeature = function (arg) {
};
/**
- * When the feature is marked as modified, mark our sub-feature as
- * modified, too.
+ * Update the timestamp to the next global timestamp value. Mark
+ * sub-features as modified, too.
*
* @returns {object} The results of the superclass modified function.
*/

Fix how some styles are documented.

We stated that opacity was used for entire features, but this isn't
true, so fix the docs.