Fix comment in setAnnotations.
It returns an Array, not an Object.
This commit is contained in:
parent
cb2b3c828f
commit
64b888d383
1 changed files with 1 additions and 1 deletions
|
|
@ -744,7 +744,7 @@ var EditSession = function(text, mode) {
|
|||
|
||||
/**
|
||||
* Returns the annotations for the `EditSession`.
|
||||
* @returns {Object}
|
||||
* @returns {Array}
|
||||
**/
|
||||
this.getAnnotations = function() {
|
||||
return this.$annotations || [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue