Hello.
I use dojo 1.0.2 with dean Edwards packer version 3.0 (beta 7).
I have encountered a strange issue, when I used packer for compressed layer.
Probably ,sometimes packer handle operator : ? wrongly. For example:
function Myfunc(_eventName)
{
//some code
var eventName= _eventName !=null ? _eventName: " ";
}
{
//some code
var eventName= _eventName !=null ? _eventName: " ";
}
The result code after unpacking is:
function Myfunc(d)
{
var b=d!=null?_b:" ";
}
{
var b=d!=null?_b:" ";
}
There must be var b=d!=null?d:" ";
I think there is some problem in the packer.
Can someone help me?
There is more fresher version of packer on Dean Edwards site (http://dean.edwards.name/my/) - version 3.0 (final).
Can someone help me to install this version of paker into dojo on my local machine?
Thanks.

It has been investigated and
It has been investigated and discussed, and the general rule of thumb is you should ONLY use packer if you do not have gzip/deflate available on your server. The size benefits are lost in performance issues in that packer takes additional time to simply decode itself, which is slower than the native browser unzip. We (dojo) avoid using it because of this, and typically recommend the same.
This is my case. gzip
This is my case. gzip unavailable on my server. My custom layer is very large, and packer will be useful for me...
BTW, there is a trac ticket
BTW, there is a trac ticket open to integrate the latest Packer 3 into the Dojo codebase, but it is not scheduled until Dojo 1.2 release:
http://trac.dojotoolkit.org/ticket/6172
I have not tried the latest Packer 3 with dojo, so no tips yet for that.
fresher version of packer resolve issue
I have installed latest version of Packer from Dean Edwards site into dojo on my local machine and it has resolved my issue.