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 2cdef7c simplify 2cdef7c is described below commit 2cdef7c5ad84c0c080f00b8ca2eb77eec814476e Author: Sam Ruby <ru...@intertwingly.net> AuthorDate: Fri Sep 29 22:13:39 2017 -0400 simplify --- www/board/agenda/views/models/minutes.js.rb | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/www/board/agenda/views/models/minutes.js.rb b/www/board/agenda/views/models/minutes.js.rb index 35defb4..33e7a39 100644 --- a/www/board/agenda/views/models/minutes.js.rb +++ b/www/board/agenda/views/models/minutes.js.rb @@ -7,24 +7,7 @@ class Minutes # (re)-load minutes def self.load(list) - old_keys = @@list.keys() - - if list - for title in list - index = old_keys.indexOf(title) - if index >= 0 - @@list[title]=list[title] - old_keys.splice(index, 1) - else - Vue.set @@list, title, list[title] - end - end - end - - old_keys.each do |key| - Vue.delete @@list, key - end - + @@list = list Vue.set @@list, 'attendance', {} unless @@list.attendance end -- To stop receiving notification emails like this one, please contact ['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].