[Pkg-javascript-commits] [mathjax] 01/02: More packer and combiner tweaks.

Dmitry Shachnev mitya57-guest at moszumanska.debian.org
Mon Feb 17 04:46:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

mitya57-guest pushed a commit to branch master
in repository mathjax.

commit e9cad7c9e7b732ac1b36902c1783e036902fe4be
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Thu Feb 13 14:37:14 2014 +0400

    More packer and combiner tweaks.
---
 debian/combiner/template-unpacked.js | 6 +++++-
 debian/packer/packMJfile             | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/combiner/template-unpacked.js b/debian/combiner/template-unpacked.js
index aee3396..03659e7 100644
--- a/debian/combiner/template-unpacked.js
+++ b/debian/combiner/template-unpacked.js
@@ -1,4 +1,8 @@
-/*
+/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
+/* vim: set ts=2 et sw=2 tw=80: */
+
+/*************************************************************
+ *
  *  %%% NAME %%%
  *  
  *  Copyright (c) 2010-2013 The MathJax Consortium
diff --git a/debian/packer/packMJfile b/debian/packer/packMJfile
index d7e3b19..7711622 100755
--- a/debian/packer/packMJfile
+++ b/debian/packer/packMJfile
@@ -25,7 +25,7 @@ print "============================================\n";
 print "Compressing: $src\n";
 print "--------------------------------------------";
 # 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");
+system("cat '$src' | sed \"s\/^.*\\/\\/ \\(MathJax.isPacked = true;\\).*$\/\\1\/\" | java -jar '$YUI' -v -o '$dst' --type js 2>&1 | $YUIFILTER");
 
 open(MJX,"<", $dst);
 @lines = <MJX>;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/mathjax.git



More information about the Pkg-javascript-commits mailing list