aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/html.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-02-14 18:39:16 -0500
committerRalph Amissah <ralph@amissah.com>2013-02-14 18:39:16 -0500
commitd2fa6daa3f2ecbafd2dda8d6da895ef69575e3b3 (patch)
treef770693fea411cc2f85e6c442119860b19fc03ff /lib/sisu/v4/html.rb
parentv4 (v3): version & changelog (diff)
v4 (v3): cosmetic, minor code shuffle, & remove trailing white-spaces
Diffstat (limited to 'lib/sisu/v4/html.rb')
-rw-r--r--lib/sisu/v4/html.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v4/html.rb b/lib/sisu/v4/html.rb
index 94b20afe..9b73823b 100644
--- a/lib/sisu/v4/html.rb
+++ b/lib/sisu/v4/html.rb
@@ -108,18 +108,18 @@ module SiSU_HTML
data=nil
tuned_file_array=SiSU_HTML::Source::HTML_Environment.new(@particulars).tuned_file_instructions
data=tuned_file_array
- if @opt.act[:html_scroll][:set]==:on
+ if @opt.act[:html_scroll][:set]==:on
scr_endnotes=SiSU_HTML::Source::Endnotes.new(data,@md).scroll
end
toc=SiSU_HTML::Source::Toc.new(@md,data).songsheet
links_guide=SiSU_HTML::Source::LinksGuide.new(data,@md).toc
data=tuned_file_array
scr_toc=SiSU_HTML::Source::ScrollHeadAndSegToc.new(@md,toc,links_guide).in_common #watch
- if @opt.act[:html_seg][:set]==:on
+ if @opt.act[:html_seg][:set]==:on
SiSU_HTML::Source::Seg.new(@md,data).songsheet
end
data=tuned_file_array
- if @opt.act[:html_scroll][:set]==:on
+ if @opt.act[:html_scroll][:set]==:on
scr=SiSU_HTML::Source::Scroll.new(@md,data,scr_endnotes).songsheet
scroll=SiSU_HTML::Source::ScrollOutput.new(scr_toc,scr[:body],scr[:metadata],scr[:owner_details],scr[:tails],@md).publish
SiSU_HTML::Source::Output.new(scroll,@md).scroll
@@ -602,7 +602,7 @@ WOK
ads=SiSU_HTML_Promo::Ad.new(@md)
@segtoc << format_head_toc.seg_navigation_tail << ads.div.close << ads.display << format_head_toc.html_close
@segtoc=@segtoc.flatten.compact #watch
- if @md.opt.act[:html_seg][:set]==:on
+ if @md.opt.act[:html_seg][:set]==:on
SiSU_HTML::Source::Output.new(@segtoc,@md).segtoc
end
@segtoc=[]
@@ -633,7 +633,7 @@ WOK
@o_str ||=SiSU_Env::ProcessingSettings.new(md).output_dir_structure
end
def scroll
- if @md.opt.act[:html_scroll][:set]==:on
+ if @md.opt.act[:html_scroll][:set]==:on
begin
@filename_html_scroll=@file.write_file.html_scroll
@data.each do |para|
@@ -657,7 +657,7 @@ WOK
end
end
def segtoc
- if @md.opt.act[:html_seg][:set]==:on
+ if @md.opt.act[:html_seg][:set]==:on
begin
@filename_html_segtoc=@file.write_file.html_segtoc
@data.each do |para|