Merge pull request #1076 from ajaxorg/fix_bad_type

Fix bad type return
This commit is contained in:
Harutyun Amirjanyan 2012-11-02 10:15:17 -07:00
commit 5c36de8644

View file

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