misc/plugin/sn.rb in tdiary-4.0.2.20140201 vs misc/plugin/sn.rb in tdiary-4.0.3

- old
+ new

@@ -60,17 +60,17 @@ * delete 'sn.use_anchorid' option 2003-08-29 SAKAMOTO Hideki <hs@on-sky.net> * first version =end -add_body_enter_proc do |date| +add_body_enter_proc do |date| @sn_count = 1 @sn_idx = 0 "" end -add_body_leave_proc do |date| +add_body_leave_proc do |date| @sn_count = 1 @sn_idx = 0 "" end @@ -92,10 +92,10 @@ number = @sn_count end @sn_count += 1 %Q[#{'%d' % number}] end - + def sn_anchorid %Q[#{'%d' % @sn_idx}] end # Local Variables: