lib/sprout/tasks/mxmlc_unit.rb in sprout-as3-bundle-1.0.24 vs lib/sprout/tasks/mxmlc_unit.rb in sprout-as3-bundle-1.0.29

- old
+ new

@@ -20,10 +20,12 @@ # class MXMLCUnit < MXMLCHelper def initialize(args, &block) super + outer_task = define_outer_task + library :asunit3 mxmlc output do |t| configure_mxmlc t configure_mxmlc_application t @@ -37,12 +39,11 @@ yield t if block_given? end define_player - t = define_outer_task - t.prerequisites << output - t.prerequisites << player_task_name + outer_task.prerequisites << output + outer_task.prerequisites << player_task_name end def create_output return "#{create_output_base}Runner.swf" end