[Templates-cvs] cvs commit: TT3/lib/Template/Tag Directive.pm

cvs@template-toolkit.org cvs@template-toolkit.org
Wed, 01 Dec 2004 11:12:13 +0000


cvs         04/12/01 11:12:13

  Modified:    lib/Template/Tag Directive.pm
  Log:
  * changed default directives to Template::Directives, allowing TT3
    subclass to specialise further
  
  Revision  Changes    Path
  1.11      +5 -5      TT3/lib/Template/Tag/Directive.pm
  
  Index: Directive.pm
  ===================================================================
  RCS file: /template-toolkit/TT3/lib/Template/Tag/Directive.pm,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Directive.pm	2004/11/23 10:55:29	1.10
  +++ Directive.pm	2004/12/01 11:12:13	1.11
  @@ -16,7 +16,7 @@
   #   modify it under the same terms as Perl itself.
   #
   # REVISION
  -#   $Id: Directive.pm,v 1.10 2004/11/23 10:55:29 abw Exp $
  +#   $Id: Directive.pm,v 1.11 2004/12/01 11:12:13 abw Exp $
   #
   # TODO
   #   * if we change the directives then we need to notify parser
  @@ -30,18 +30,18 @@
   use strict;
   use warnings;
   use Template::Constants qw( :chomp );
  -use Template::Directives::TT;
  +use Template::Directives;
   use Template::Parser;
   use Template::Tag;
   use base qw( Template::Tag );
   
  -our $VERSION = sprintf("%d.%02d", q$Revision: 1.10 $ =~ /(\d+)\.(\d+)/);
  +our $VERSION = sprintf("%d.%02d", q$Revision: 1.11 $ =~ /(\d+)\.(\d+)/);
   our $DEBUG   = 0 unless defined $DEBUG;
   our $ERROR   = '';
   
   # default parser and directives classes
   our $PARSER     = 'Template::Parser' unless defined $PARSER;
  -our $DIRECTIVES = 'Template::Directives::TT' unless defined $DIRECTIVES;
  +our $DIRECTIVES = 'Template::Directives' unless defined $DIRECTIVES;
   
   # define various tag styles
   our $TAG_STYLES = {
  @@ -607,7 +607,7 @@
   
   =head1 VERSION
   
  -$Revision: 1.10 $
  +$Revision: 1.11 $
   
   =head1 COPYRIGHT