diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-10-12 10:46:48 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-10-12 10:46:48 -0400 |
commit | 53b74bac29e476d4000b76d10acc0c31e2376669 (patch) | |
tree | 0624c1e81d661c6f1296e66679b9e9cd29debaac /lib/sisu/v6/html_promo.rb | |
parent | v5 v6: html, epub, set document body language (diff) |
v6: '*_parts', remove defaults.rb & some relics related to sisu skins, long gone
* old code removed & substituted as required by *_parts
* attending code changes, fairly wide ranging, test
Diffstat (limited to 'lib/sisu/v6/html_promo.rb')
-rw-r--r-- | lib/sisu/v6/html_promo.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sisu/v6/html_promo.rb b/lib/sisu/v6/html_promo.rb index 750add5c..1880e246 100644 --- a/lib/sisu/v6/html_promo.rb +++ b/lib/sisu/v6/html_promo.rb @@ -66,7 +66,6 @@ module SiSU_HTML_Promo @env=SiSU_Env::InfoEnv.new(@md.fns,@md) @rc=SiSU_Env::GetInit.new.sisu_yaml.rc @ad=SiSU_Env::GetInit.new.ads - @vz=SiSU_Viz::Defaults.new @flag=@env.widget.promo? @make=SiSU_Env::ProcessingSettings.new(@md) end @@ -97,8 +96,6 @@ module SiSU_HTML_Promo && @flag[:ad] ads=if @md.promo && @md.promo.length > 0 #promo set in document promo_array=@md.promo - elsif @flag[:sk] #promo set - promo_array=@vz.widget_promo elsif @flag[:rc] #promo set in rc file promo_array=if @rc['html']['promo'].is_a?(String) @rc['html']['promo'].split(/[,;]\s*/) |