diff options
Diffstat (limited to 'lib/VN3/Docs/JS.pm')
-rw-r--r-- | lib/VN3/Docs/JS.pm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/VN3/Docs/JS.pm b/lib/VN3/Docs/JS.pm deleted file mode 100644 index 397842fd..00000000 --- a/lib/VN3/Docs/JS.pm +++ /dev/null @@ -1,15 +0,0 @@ -package Docs::JS; - -use VN3::Prelude; -use VN3::Docs::Lib; - -my $elm_Content = elm_api Content => {}; - -json_api '/js/markdown.json', { - content => { required => 0, default => '' } -}, sub { - return $elm_Unauth->() if !auth->permDbmod; - $elm_Content->(md2html shift->{content}); -}; - -1; |