Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Nov 13, 2010
  1. various:

    authored
    - discard some return-s:
      if (foo) { BLOCK1; return } BLOCK2;  ==>  if (foo) { BLOCK1 } else { BLOCK2 }
    
    - be smarter about negation:
      !(a == b) => a != b
      !(a && b) => !a || !b
      !(!a || !b) => a && b
    
    etc.
  2. now depends on :iterate

    authored
Commits on Nov 12, 2010
  1. ported

    authored
    mishoo/UglifyJS@0111230
    (we don't always need to add parens around anonymous function when calling
    or using the DOT on it)
Commits on Nov 10, 2010
  1. fix for http://github.com/mishoo/UglifyJS/issues/closed#issue/50 -- c…

    authored
    …reating
    
    a new scope for the catch block, although required by ECMA, does not work
    well for IE.
Commits on Oct 15, 2010
  1. minor

    authored
Commits on Oct 14, 2010
  1. slightly better fix (if a string can't be converted to a number, just…

    authored
    … return
    
    the same expression)
  2. handle <<, >> and >>> where possible (incidentally, an endless recurs…

    authored
    …ion bug has been fixed; binary-op sometimes ended up calling itself)
Commits on Oct 11, 2010
  1. slightly better performance

    authored
Commits on Oct 10, 2010
  1. removed unused file

    authored
  2. minor

    authored
Commits on Oct 9, 2010
  1. minor fix

    authored
  2. small fix for if-s

    authored
  3. fixed endless loop

    authored
  4. small API cleanup

    authored
  5. function and variable declarations should be kept even if "unreachable",

    authored
    since they do affect the current scope.  Also warn when deleting unreachable code.
Commits on Oct 8, 2010
  1. minor, doc

    authored
Commits on Oct 7, 2010
  1. another small fix

    authored
Something went wrong with that request. Please try again.