Skip to content

Commit

Permalink
Remove prettify.js
Browse files Browse the repository at this point in the history
highlight.js now replaces it.  Thanks for the service, prettify.js!
  • Loading branch information
zakame committed Oct 17, 2020
1 parent 348281d commit 54b6082
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 79 deletions.
6 changes: 0 additions & 6 deletions lib/Mojolicious.pm
Original file line number Diff line number Diff line change
Expand Up @@ -750,12 +750,6 @@ Licensed under the MIT License, L<http://creativecommons.org/licenses/MIT>.
Licensed under the BSD License, L<https://github.com/highlightjs/highlight.js/blob/master/LICENSE>.
=head2 prettify.js
Copyright (C) 2006, 2013 Google Inc..
Licensed under the Apache License, Version 2.0 L<http://www.apache.org/licenses/LICENSE-2.0>.
=head1 CODE NAMES
Every major release of L<Mojolicious> has a code name, these are the ones that have been used in the past.
Expand Down

This file was deleted.

63 changes: 0 additions & 63 deletions lib/Mojolicious/resources/public/mojo/prettify/run_prettify.js

This file was deleted.

5 changes: 3 additions & 2 deletions t/mojolicious/exception_lite_app.t
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,9 @@ ok !$snapshot->{exception}, 'no exception in snapshot';

# Bundled static files
$t->get_ok('/mojo/jquery/jquery.js')->status_is(200)->content_type_is('application/javascript');
$t->get_ok('/mojo/prettify/run_prettify.js')->status_is(200)->content_type_is('application/javascript');
$t->get_ok('/mojo/prettify/prettify-mojo-dark.css')->status_is(200)->content_type_is('text/css');
$t->get_ok('/mojo/highlight.js/highlight.min.js')->status_is(200)->content_type_is('application/javascript');
$t->get_ok('/mojo/highlight.js/mojolicious.min.js')->status_is(200)->content_type_is('application/javascript');
$t->get_ok('/mojo/highlight.js/highlight-mojo-dark.css')->status_is(200)->content_type_is('text/css');
$t->get_ok('/mojo/failraptor.png')->status_is(200)->content_type_is('image/png');
$t->get_ok('/mojo/logo.png')->status_is(200)->content_type_is('image/png');
$t->get_ok('/mojo/logo-black.png')->status_is(200)->content_type_is('image/png');
Expand Down

0 comments on commit 54b6082

Please sign in to comment.