From 2a5873ea67061e33602791961badcfdc4e8480b0 Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Mon, 10 Oct 2011 17:28:19 +0300 Subject: [PATCH] Fix export notices for ExtJS and Touch. --- Rakefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 1623e6b4..6d76f8c2 100644 --- a/Rakefile +++ b/Rakefile @@ -313,6 +313,16 @@ class JsDuckRunner ] end + def add_touch2_export_notice + @options += [ + "--body-html", <<-EOHTML + + EOHTML + ] + end + def add_google_analytics @options += [ "--body-html", <<-EOHTML @@ -408,7 +418,7 @@ task :sdk, [:mode] => :sass do |t, args| runner.add_sdk runner.add_debug if mode == "debug" runner.add_seo if mode == "debug" || mode == "live" - runner.add_export_notice if mode == "export" + runner.add_sdk_export_notice if mode == "export" runner.add_google_analytics if mode == "live" runner.run @@ -457,7 +467,7 @@ task :touch2, [:mode] => :sass do |t, args| runner = JsDuckRunner.new runner.add_touch2 runner.add_debug if mode == "debug" - runner.add_export_notice if mode == "export" + runner.add_touch2_export_notice if mode == "export" runner.add_seo if mode == "debug" || mode == "live" runner.run -- GitLab