Skip to content

Commit

Permalink
Address review comments for the change to packMJfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-wang committed Nov 5, 2013
1 parent 9975381 commit d7265b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packer/packMJfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if ($src =~ m!/config/(local/local|default)\.js$!) {
print "============================================\n";
print "Compressing: $src\n";
print "--------------------------------------------";
# Thed sed command uncomments the MathJax.isPacked = true; from MathJax.js
system("cat '$src' | $SED \"s\/^.*\\(MathJax.isPacked = true;\\).*$\/\\1\/\" | $JAVA -jar '$YUICOMPRESSOR' -v -o '$dst' --type js 2>&1 | $YUIFILTER");
# The sed command uncomments the 'MathJax.isPacked = true;' from MathJax.js
system("cat '$src' | $SED \"s\/^.*\\/\\/ \\(MathJax.isPacked = true;\\).*$\/\\1\/\" | $JAVA -jar '$YUICOMPRESSOR' -v -o '$dst' --type js 2>&1 | $YUIFILTER");

open(MJX,"<", $dst);
@lines = <MJX>;
Expand Down

0 comments on commit d7265b9

Please sign in to comment.