[MKDoc-commit] [1.8] make flo::editor::Text easier to subclass

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Aug 24 17:46:03 BST 2005


Log Message:
-----------
[1.8] make flo::editor::Text easier to subclass

Modified Files:
--------------
    mkd/flo:
        Component.pm
    mkd/flo/editor:
        Text.pm

-------------- next part --------------
Index: Component.pm
===================================================================
RCS file: /var/spool/cvs/mkd/flo/Component.pm,v
retrieving revision 1.17
retrieving revision 1.18
diff -Lflo/Component.pm -Lflo/Component.pm -u -r1.17 -r1.18
--- flo/Component.pm
+++ flo/Component.pm
@@ -227,6 +227,9 @@
 }
 
 
+sub _initialize {}
+
+
 sub cgi_args
 {
     my $self   = shift;
Index: Text.pm
===================================================================
RCS file: /var/spool/cvs/mkd/flo/editor/Text.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -Lflo/editor/Text.pm -Lflo/editor/Text.pm -u -r1.21 -r1.22
--- flo/editor/Text.pm
+++ flo/editor/Text.pm
@@ -61,6 +61,7 @@
 	$self->{data} = "";
     }
     
+    $self->_initialize;
     return $self;
 }
 


More information about the MKDoc-commit mailing list