Skip to content

Commit

Permalink
Merge pull request #1076 from ajaxorg/fix_bad_type
Browse files Browse the repository at this point in the history
Fix bad type return
  • Loading branch information
nightwing committed Nov 2, 2012
2 parents 634bc7f + e0f67e2 commit 5c36de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ace/edit_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ var EditSession = function(text, mode) {
* Returns the annotations for the `EditSession`.
**/
this.getAnnotations = function() {
return this.$annotations || {};
return this.$annotations || [];
};

/**
Expand Down

0 comments on commit 5c36de8

Please sign in to comment.