From 3c4157a09a460c96e87b055a48ada191bca112f8 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Mon, 10 Jan 2011 08:35:30 +0100 Subject: [PATCH] fix typo --- lib/ace/document.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/document.js b/lib/ace/document.js index e60dbbd7..c58b70bb 100644 --- a/lib/ace/document.js +++ b/lib/ace/document.js @@ -293,7 +293,7 @@ var Document = function(text, mode) { this.getScreenWidth = function() { this.$computeWidth(); - return this.screenWith; + return this.screenWidth; }; this.$computeWidth = function() { @@ -316,7 +316,7 @@ var Document = function(text, mode) { longestScreenLine = Math.max(longestScreenLine, len); } this.width = longestLine; - this.screenWith = longestScreenLine; + this.screenWidth = longestScreenLine; } };