From 64b888d383b694c21ef43fc9f68e000d47c01a94 Mon Sep 17 00:00:00 2001 From: David Braun Date: Sat, 16 Feb 2013 15:55:39 -0300 Subject: [PATCH] Fix comment in setAnnotations. It returns an Array, not an Object. --- lib/ace/edit_session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/edit_session.js b/lib/ace/edit_session.js index 146c8b19..0c7ac769 100644 --- a/lib/ace/edit_session.js +++ b/lib/ace/edit_session.js @@ -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 || [];