I periodically run jslint on the openlayers code base and commit changes to fix things like missing semi-colons. I haven't had any problems using jsmin or the YUI compressor. I haven't tried Packer for a while, I have a fundamental dislike of the approach he takes (using eval() to load the code) but that is mostly a personal opinion.
Cheers Paul On 2-Oct-08, at 8:31 AM, BrainDrain wrote: > > HI > Why well-known js packer (http://dean.edwards.name/packer/) breaks > OL code? > It becomes unworking. > I've tried online and c# versions of this packer (and some others from > codeproject). Results - the same. > It turned out, that not all of my code is compatible with this > packer and I > tried to test it with JSLint. > After some revision with the help of JSLint I achieved a success > (for my > code). > But what about OL? base62 encoding has good compression ratio - > almost 50% > Paul > -- > View this message in context: > http://www.nabble.com/OL-code-JS-%28ECMA-%29-standarts-compliance-and-code-packing-tp19778306p19778306.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
