You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/02/17 17:01:49 UTC
[whimsy.git] [1/1] Commit ec485ec: *sigh* fix typo
Commit ec485ec19d7a233ca1fad1d9688de7314fc8dc7b:
*sigh* fix typo
Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>
------------------------------------------------------------
www/board/agenda/views/pages/report.js.rb | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/board/agenda/views/pages/report.js.rb b/www/board/agenda/views/pages/report.js.rb
index 2ad96d4..223a2ed 100644
--- a/www/board/agenda/views/pages/report.js.rb
+++ b/www/board/agenda/views/pages/report.js.rb
@@ -95,7 +95,7 @@ def linebreak(text)
while result = regex.exec(text)
line = result[0]
lastspace = /^.*\s\S/.exec(line)
- if lastspace and lastspace[0].lentgh -1 > 40
+ if lastspace and lastspace[0].length - 1 > 40
indicies.unshift([line, result.index])
end
end