On 03/03/10 10:21 PM, Jeppe Nejsum Madsen wrote:
Indrajit Raychaudhuri<[email protected]> writes:
[...]
My interest in the current context, is to have consistent behavior in
the js artifacts bundled with Lift.
To me (and Marius) #2 is also worth consideration. True that you'd
have a compressed (IDE unfriendly) js in the codebase but you'd also
be able to remove build-time dependency on yui compressor. (one less
dependency, one less step etc.)
But why is it a problem with the build-time dependency on yui compressor
if it only concerns the building of the lift-*.jar? Or am I missing
something?
No question with the worthiness of yui-compressor as such, it does the
job perfectly and great for the purpose :) It about when to use it.
If we are using it to minify the set of third party js files (jquery,
json etc.) repeatedly which never change we might as well consider
keeping the minified form directly. Hence the worthiness behind
consideration. Note that Lift's internal js files (e.g., jlift.js) are
fine going the yui-compressor route.
But more than anything, we need to be consistently following either of
these (particularly for the 3rd party js artifacts).
Ideally the lift jars should contain both, and the non-minified used in
development.....
Yes, better. Which actually led to the other thought (#3). But git
should contain only one form in that case (the un-minified one).
/Jeppe
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.