[Pkg-javascript-devel] Maintain impress.js and highlight.js in the JavaScript team
Jonas Smedegaard
dr at jones.dk
Mon Nov 19 13:54:47 UTC 2012
Quoting Cédric Boutillier (2012-11-19 11:39:51)
> I proposed recently to package mdpress, after RFP bug #692864. It is a
> Ruby tool to make HTML5 presentations using impress.js library.
>
> The current code contains convenience copies of impress.js and
> highlight.js. Since these libraries may be useful elsewhere, I should
> certainly package them, but since I am new to JavaScript packaging
> (and JavaScript in general), I thought it would be better to have them
> maintained by a team.
> If you agree, could you accept my a request to join your team on Alioth?
Welcome aboard, Cédric!
> The first questions I have are about non minified JavaScript libraries.
> Impress.js does not ship any minified version. Should I provide one?
> What is the prefered tool to create one?
It is irrelevant if upstream ship minified version: You whould anyway
ignore that and (re)generate anew.
And yes, I can think of no situation we would *not* want to provide our
users both minified and readable (a.k.a. debuggable) JavaScript.
TTBOMK the currently best and most popular minifier available in Debian
is uglifyjs.
Note however that uglifyjs will not be part of next stable release, so I
suggest to ease backportability by use (and build-depend on)
yui-compressor as fallback. See e.g. less.js for an example of that.
Regards,
- Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20121119/ec266c2a/attachment.pgp>
More information about the Pkg-javascript-devel
mailing list