[Pkg-javascript-devel] Maintain impress.js and highlight.js in the JavaScript team

2012-11-19 Thread Cédric Boutillier
Dear members of the Debian JavaScript team,

Please Cc: me since I am not (yet) subscribed to the list.

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?

I may need advice about current best practice in your team. I found the 
Debian JavaScript Policy on the wiki
  http://wiki.debian.org/Javascript/Policy
which is a starting point.

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?

Thank you in advance!

Cheers,

Cédric


signature.asc
Description: Digital signature
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Re: [Pkg-javascript-devel] Maintain impress.js and highlight.js in the JavaScript team

2012-11-19 Thread Jonas Smedegaard
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


signature.asc
Description: signature
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel