Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document svg-for-file()
  • Loading branch information
Paul Cochrane committed May 4, 2015
1 parent 565c4d2 commit f5c65a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htmlify.p6
Expand Up @@ -100,6 +100,7 @@ sub recursive-dir($dir) {
}
}

#| Return the SVG for the given file, without its XML header
sub svg-for-file($file) {
my $handle = open $file;
my $str = join "\n", grep { /^'<svg'/ ff False }, $handle.lines;
Expand Down

0 comments on commit f5c65a2

Please sign in to comment.