diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-05-03 19:58:58 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-05-03 19:58:58 +0000 |
commit | a44bfb158dac9e04647a75bc819a73bc18f5acce (patch) | |
tree | 557f34948ad08be08dc5bdc1d768fe396b861984 /IkiWiki/Plugin/inline.pm | |
parent | 4ba45ec3fc6d94657e23cecaca27bf4dc5c7c0a5 (diff) | |
download | ikiwiki-a44bfb158dac9e04647a75bc819a73bc18f5acce.tar ikiwiki-a44bfb158dac9e04647a75bc819a73bc18f5acce.tar.gz |
change plugin interface to use named parameters for flexability
Diffstat (limited to 'IkiWiki/Plugin/inline.pm')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index c554774f6..61b4a8523 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -7,7 +7,8 @@ use strict; use IkiWiki; sub import { #{{{ - IkiWiki::register_plugin("preprocess", "inline", \&IkiWiki::preprocess_inline); + IkiWiki::hook(type => "preprocess", id => "inline", + call => \&IkiWiki::preprocess_inline); } # }}} # Back to ikiwiki namespace for the rest, this code is very much |