Add default stability level to docs of exported things.

This commit is contained in:
Paul Spencer
2013-10-24 17:07:02 -04:00
parent a13c5d30a2
commit bada596b45
108 changed files with 382 additions and 0 deletions
+2
View File
@@ -21,6 +21,7 @@ ol.geom2.LineString;
* @param {ol.structs.Buffer} buf Buffer.
* @param {Object.<string, number>=} opt_ranges Ranges.
* @param {number=} opt_dim Dimension.
* @todo stability experimental
*/
ol.geom2.LineStringCollection = function(buf, opt_ranges, opt_dim) {
@@ -61,6 +62,7 @@ ol.geom2.LineStringCollection.createEmpty = function(capacity, opt_dim) {
* @param {number=} opt_capacity Capacity.
* @param {number=} opt_dim Dimension.
* @return {ol.geom2.LineStringCollection} Line string collection.
* @todo stability experimental
*/
ol.geom2.LineStringCollection.pack =
function(unpackedLineStrings, opt_capacity, opt_dim) {
+4
View File
@@ -19,6 +19,7 @@ ol.geom2.Point;
* @constructor
* @param {ol.structs.Buffer} buf Buffer.
* @param {number=} opt_dim Dimension.
* @todo stability experimental
*/
ol.geom2.PointCollection = function(buf, opt_dim) {
@@ -40,6 +41,7 @@ ol.geom2.PointCollection = function(buf, opt_dim) {
* @param {number} capacity Capacity.
* @param {number=} opt_dim Dimension.
* @return {ol.geom2.PointCollection} Point collection.
* @todo stability experimental
*/
ol.geom2.PointCollection.createEmpty = function(capacity, opt_dim) {
var dim = goog.isDef(opt_dim) ? opt_dim : 2;
@@ -54,6 +56,7 @@ ol.geom2.PointCollection.createEmpty = function(capacity, opt_dim) {
* @param {number=} opt_capacity Capacity.
* @param {number=} opt_dim Dimension.
* @return {ol.geom2.PointCollection} Point collection.
* @todo stability experimental
*/
ol.geom2.PointCollection.pack =
function(unpackedPoints, opt_capacity, opt_dim) {
@@ -72,6 +75,7 @@ ol.geom2.PointCollection.pack =
/**
* @param {ol.geom2.Point} point Point.
* @return {number} Offset.
* @todo stability experimental
*/
ol.geom2.PointCollection.prototype.add = function(point) {
goog.asserts.assert(point.length == this.dim);