Hi Philip, Yep my first attempt was with the source version.
I got around the whole issue by not adding SWFObject into my compressed/packaged js files. When an update comes I'll put it back into my packaged version. Thanks, jeremy On Mar 19, 10:07 pm, Philip Hutchison <[email protected]> wrote: > have you tried compressing the source version of swfobject instead of > recompressing the compressed version? > > as kyle mentioned, we're actively investigating replacing the conditional > compilation code, but whatever the outcome, it probably won't be available > for a while. > > - philip > > On Thu, Mar 19, 2009 at 10:24 AM, jwmeigs <[email protected]> wrote: > > > I understand that it is pre-compressed but the special case causes > > issues when you want to package all your JS files into one core file > > for faster downloading of resources. > > > In that case it's nice to be able to run all your js files through a > > compressor without having to much with special cases. > > > jeremy > > > On Mar 16, 1:03 pm, "Getify Solutions, Inc." <[email protected]> wrote: > > > To my knowledge, the only thing about SWFObject that should cause issues > > > with minimizers is the IE conditional complilation stuff. It's been > > tossed > > > around as perhaps something we could do away with in a future version, > > but > > > I'm not thinking we've decided to go in that direction. So for right now, > > I > > > think the answer is probably no. > > > > I think since swfobject is already compressed, it should just be > > considered > > > a pre-compressed asset and not passed through the minimizers again. This > > is > > > probably the safest bet. > > > > --Kyle > > > > -------------------------------------------------- > > > From: "[email protected]" <[email protected]> > > > Sent: Monday, March 16, 2009 1:59 PM > > > To: "SWFObject" <[email protected]> > > > Subject: AssetPackager and SWFObject > > > > > First of SWFObject is awesome... > > > > > I read the details in this thread: > > > >http://groups.google.com/group/swfobject/browse_thread/thread/ad42cf0. > > .. > > > > > SWFObject fails when used with the popular Rails js minfiy/packager > > > > because of the specific IE fixes and I think some unquoted regex's. > > > > > So, I had to leave out SWFObject from my packaged js and load 2 files > > > > on my site. The whole Prototype/Scriptaculous/PLUS MY FILES as base.js > > > > and a separate swfobject.js file. > > > > > Has anyone else encountered this? > > > > > I'm usually very cautious and have a unit test that jslints my > > > > javascript files that I write so that it will work when compressed and > > > > packaged with the rest of the js files on my sites. > > > > > Seems like SWFObject can be modified slightly to fix the issues with > > > > the different minimizers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" 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/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
