Sfoglia il codice sorgente

Changed order for readability

Alois Mahdal (@azzgoat) 12 anni fa
parent
commit
52d66019c8
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      lib/SugarTrail/Template/Master.pm

+ 2
- 1
lib/SugarTrail/Template/Master.pm Vedi File

@@ -63,9 +63,10 @@ sub _parse_body {
63 63
 sub generate_slave {
64 64
     my $self = shift;
65 65
     my $args = shift;
66
-    $self->parse() unless $self->{parsed};
67 66
     my $slave = SugarTrail::Template::Slave->new($args);
68 67
 
68
+    $self->parse() unless $self->{parsed};
69
+
69 70
     my @slave_steps;
70 71
     STEP: foreach my $master_step (@{ $self->{steps} }) {
71 72
         my $accept = 1;     # accept by default