diff --git a/assets/js/captcha.js b/assets/js/captcha.js deleted file mode 100644 index eb3fddf..0000000 --- a/assets/js/captcha.js +++ /dev/null @@ -1,13 +0,0 @@ -/* -'use strict'; - -document.getElementById('captcha').value = -*/ - -'use strict'; - -let captchaValue = - document - .querySelector('label[for="captcha"]') - .textContent - .match(/'(flag|bump)'/)[1]; diff --git a/cpanfile b/cpanfile index baad406..5180947 100644 --- a/cpanfile +++ b/cpanfile @@ -9,4 +9,3 @@ requires 'CSS::Minifier::XS'; requires 'Text::Markdown'; requires 'HTML::Restrict'; requires 'IO::Socket::SSL'; -requires 'JavaScript::Minifier::XS'; diff --git a/lib/PostText.pm b/lib/PostText.pm index 19254fd..0e17054 100644 --- a/lib/PostText.pm +++ b/lib/PostText.pm @@ -16,7 +16,7 @@ use PostText::Model::Moderator; sub startup($self) { $self->plugin('Config'); $self->plugin('TagHelpers::Pagination'); - $self->plugin(AssetPack => {pipes => [qw{Css JavaScript Combine}]}); + $self->plugin(AssetPack => {pipes => [qw{Css Combine}]}); # Helpers $self->helper(pg => sub ($c) {