Added to the FAQ: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_compress_by_code.3F
--John On 7/14/07, Rey Bango <[EMAIL PROTECTED]> wrote:
Awesome! Thanks Chris! :D Christopher Jordan wrote: > > If compressing your JS breaks it, try running the code through JSLint > (http://jslint.com). This will detect minor errors that can cause packed > JS to fail while the unpacked version works fine. I had to do this with > the CFJS plug-in, and now I do it to everything I compress. > > Hope this helps. > > Cheers, > Chris > > Rey Bango wrote: >> >> I've never experienced an error when packing jQuery plugins. I've seen >> it occur with other JS scripts and its usually indicated by the calls >> to compressed code not working while the same calls to the >> uncompressed version working just fine. >> >> Rey... >> >> [EMAIL PROTECTED] wrote: >>> Thanks for the quick response. Are there ever "subtle" errors when >>> compressing? Or should I always see an error in the console if the >>> packed version has an error? >>> >>> On Jul 14, 12:57 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: >>>> http://dean.edwards.name/packer >>>> >>>> The core jquery team and most plugins use this tool to compress js. >>>> >>>> -GTG >>>> >>>> On 7/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>> >>>>> I found the BlockUI plugin download here: >>>>> http://malsup.com/jquery/block/#download >>>>> However, I didn't find a compressed version. Is there a compressed >>>>> version available? If not, could I compress it myself somewhere? I >>>>> am a little concerned about doing that because I know that compressing >>>>> JS can sometimes break it. >>>>> Thanks. >>> >>> >> > -- BrightLight Development, LLC. 954-775-1111 (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com