
git-svn-id: https://mathjax.svn.sourceforge.net/svnroot/mathjax/trunk@546 b8fd5906-0fad-46e2-a0d3-10d94ff285d1
18 lines
467 B
Perl
Executable File
18 lines
467 B
Perl
Executable File
#! /usr/local/bin/perl
|
|
|
|
# used internally to filter the yuicompressor output to not show certain messages
|
|
|
|
while ($line = <>) {
|
|
if ($line =~ m/use a single 'var' statement per scope/) {
|
|
$line = <>; $line = <>; # skip next two lines
|
|
} elsif ($line =~ m/Using 'eval' is not recommended/) {
|
|
$line = <>; $line = <>; # skip next two lines
|
|
} elsif ($line =~ m/Using charset MacRoman/) {
|
|
$line = <>; # skip blank line
|
|
} else {
|
|
print $line;
|
|
}
|
|
}
|
|
|
|
1;
|