[ 25 posts ] Go to page Previous1, 2, 3

Charles Smith

  • Username: veyronhost
  • Joined: Thu Nov 18, 2010 5:28 pm
  • Posts: 1
  • Offline
  • Profile

Re: Easy YUI Compressor for Windows.

Post Posted: Thu Nov 18, 2010 5:36 pm
+0-
I feel like I'm late to the party. Just downloaded and compressed a dozen css files with ease...love it. I was wondering if there is a similar GUI interface that will combine them for me?

Great app!

Eric

  • Username: Seeriuss
  • Joined: Fri Mar 18, 2011 11:54 am
  • Posts: 2
  • Offline
  • Profile

Re: Easy YUI Compressor for Windows.

Post Posted: Thu Nov 10, 2011 12:12 pm
+0-
I use Windows 7 x64 and it crashed for me as well. When I uncheck the Verbose option, it seemed to work ok.

Steve Mol

  • Username: Steve Mol
  • Joined: Wed Feb 15, 2012 6:17 am
  • Posts: 2
  • Offline
  • Profile

Re: Easy YUI Compressor for Windows.

Post Posted: Wed Feb 15, 2012 6:22 am
+0-
It works great for me...but I'm getting a TON of warnings like:

WARNING] The symbol s is declared but is apparently never used.
This code can probably be written in a more compact way.
functionupdateImage(s){ ---> s <--- .GetRowValues(s.GetFocusedRowIndex(),"ID"

But this is generated from the following function snippet:

function updateImage(s) {
s.GetRowValues(s.GetFocusedRowIndex(), 'ID', loadImage);
}

Obviosuly, s IS in use. The warning even points to where it is used! I don't want to suppress the warning, as sometimes, it might be right - but with sooo many false alarms, it's tough to find the true problems. Is this something that can be fixed somewhere?

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: Easy YUI Compressor for Windows.

Post Posted: Wed Feb 15, 2012 6:41 am
+0-
Steve --

I haven't seen Compressor throw an error on an argument like that before. If you have a repro case, can you file a bug for it here:

http://yuilibrary.com/projects/yuicompressor/newticket

Steve Mol

  • Username: Steve Mol
  • Joined: Wed Feb 15, 2012 6:17 am
  • Posts: 2
  • Offline
  • Profile

Easy YUI Compressor for Windows suggestion

Post Posted: Wed Feb 15, 2012 7:57 pm
+0-
I work with DevExpress controls. They "hook" into JavaScript functions in the format

function (s, e) { ... }

So, to call a function I've written in a .js file, I might specify an event as

function (s, e) {myFunction(s,e)}

If I don't need their "s" or "e" values, I can omit them

function(s, e) {myFunction(e)}

Or I might pass other global items or values

function(s, e) {myFunction(myEditor, 4, true)}

Now here's the problem: When DevExpress "hooks" an event to my function, they match up the s and e items if I specified them with the proper element and class. I like running the compressor on my javascript, and I would like to use the munge capabilities. However, if I munge, the compressor always changes s and e, which breaks the link with the DevExpress event logic.

Here's the suggestion: Don't munge single character function parameters! They're already as short as they can possibly be (one character), so there's no need to change them!
  [ 25 posts ] Go to page Previous1, 2, 3
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum