This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new e3c30f0  tabs => spaces
e3c30f0 is described below

commit e3c30f048f501c51925e2ac640493773e78a3934
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu May 17 22:31:48 2018 -0400

    tabs => spaces
---
 www/board/agenda/views/models/agenda.js.rb | 38 +++++++++++++++---------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/www/board/agenda/views/models/agenda.js.rb 
b/www/board/agenda/views/models/agenda.js.rb
index 9b9a1f4..9c1155f 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -30,25 +30,25 @@ class Agenda
     # remove president attachments from the normal flow
     unless Minutes.started
       @@index.each do |pres|
-       match = (pres.title == 'President' and pres.text and pres.text.
-         match(/Additionally, please see Attachments (\d) through (\d)/))
-       next unless match
-
-       first = last = nil
-       @@index.each do |item|
-         first = item if item.attach == match[1]
-         item._shepherd ||= pres.shepherd if first and !last
-         last  = item if item.attach == match[2]
-       end
-
-       if first and last
-         first.prev.next = last.next
-         last.next.prev = first.prev
-         last.next.index = first.index
-         first.index = nil
-         last.next = pres
-         first.prev = pres
-       end
+        match = (pres.title == 'President' and pres.text and pres.text.
+          match(/Additionally, please see Attachments (\d) through (\d)/))
+        next unless match
+
+        first = last = nil
+        @@index.each do |item|
+          first = item if item.attach == match[1]
+          item._shepherd ||= pres.shepherd if first and !last
+          last  = item if item.attach == match[2]
+        end
+
+        if first and last
+          first.prev.next = last.next
+          last.next.prev = first.prev
+          last.next.index = first.index
+          first.index = nil
+          last.next = pres
+          first.prev = pres
+        end
       end
     end
 

-- 
To stop receiving notification emails like this one, please contact
ru...@apache.org.

Reply via email to