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

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Fri Aug 5 17:48:53 BST 2005


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

Tags:
----
mkdoc-1-6

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.3.2.37
retrieving revision 1.3.2.38
diff -Lflo/Component.pm -Lflo/Component.pm -u -r1.3.2.37 -r1.3.2.38
--- flo/Component.pm
+++ flo/Component.pm
@@ -211,6 +211,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.6.2.24
retrieving revision 1.6.2.25
diff -Lflo/editor/Text.pm -Lflo/editor/Text.pm -u -r1.6.2.24 -r1.6.2.25
--- flo/editor/Text.pm
+++ flo/editor/Text.pm
@@ -62,6 +62,7 @@
 	$self->{data} = "";
     }
     
+    $self->_initialize;
     return $self;
 }
 


More information about the MKDoc-commit mailing list