Fix comment in setAnnotations.

It returns an Array, not an Object.
This commit is contained in:
David Braun 2013-02-16 15:55:39 -03:00
commit 64b888d383

View file

@ -744,7 +744,7 @@ var EditSession = function(text, mode) {
/** /**
* Returns the annotations for the `EditSession`. * Returns the annotations for the `EditSession`.
* @returns {Object} * @returns {Array}
**/ **/
this.getAnnotations = function() { this.getAnnotations = function() {
return this.$annotations || []; return this.$annotations || [];