lib/tasks/single-output-task.rb in distil-0.10.1 vs lib/tasks/single-output-task.rb in distil-0.10.3

- old
+ new

@@ -45,10 +45,18 @@ def process_files @included_files.each { |f| process_file(f) } end + def uncompressed_preamble + "" + end + + def uncompressed_postscript + "" + end + def finish return if (!output_type) # Clear old files [@name_concat, @name_min, @name_gz, @name_debug].each { |file| @@ -64,10 +72,12 @@ concat= replace_tokens(@concat, params) File.open(@name_concat, "w") { |f| f.write(notice_text) + f.write(uncompressed_preamble) f.write(concat) + f.write(uncompressed_postscript) } minified= minify(concat) File.open(@name_min, "w") { |f|