whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit ec485ec: *sigh* fix typo
Date Wed, 17 Feb 2016 16:01:49 GMT
Commit ec485ec19d7a233ca1fad1d9688de7314fc8dc7b:
    *sigh* fix typo


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@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

Mime
View raw message