diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-03-23 17:56:05 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-03-23 17:56:05 +0100 |
commit | 11ba999eeb3397e896d311be513fcec1a96789f4 (patch) | |
tree | fe7c067e1636ef1cb5c4dd44a053fc991f99aa61 /IkiWiki | |
parent | c9bdb45ba6fc5768a0625f7e065220a6fb28a806 (diff) |
sync with ikiwiki 3.20170622
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/osm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/osm.pm b/IkiWiki/Plugin/osm.pm index 472e269..a5af4ed 100644 --- a/IkiWiki/Plugin/osm.pm +++ b/IkiWiki/Plugin/osm.pm @@ -14,7 +14,7 @@ sub import { hook(type => "format", id => "osm", call => \&format); hook(type => "preprocess", id => "osm", call => \&preprocess); hook(type => "preprocess", id => "waypoint", call => \&process_waypoint); - hook(type => "savestate", id => "waypoint", call => \&savestate); + hook(type => "changes", id => "waypoint", call => \&changes); hook(type => "cgi", id => "osm", call => \&cgi); } @@ -280,7 +280,7 @@ sub scrub_lonlat($$$) { return ($lon, $lat); } -sub savestate { +sub changes { my %waypoints = (); my %linestrings = (); |