Add doc for ol.Collection#getArray

This commit is contained in:
Éric Lemoine
2013-09-02 18:24:07 +02:00
parent 7af4cbb75e
commit d68f411e82

View File

@@ -120,6 +120,10 @@ ol.Collection.prototype.forEach = function(f, opt_obj) {
/**
* Get a reference to the underlying Array object. Warning: if the array
* is mutated, no events will be dispatched by the collection, and the
* collection's "length" property won't be in sync with the actual length
* of the array.
* @return {Array} Array.
*/
ol.Collection.prototype.getArray = function() {