Permalink
Switch branches/tags
Nothing to show
Commits on Apr 19, 2011
  1. Increase first function indentation in var-line

    As reported by Kambfhase:
    
    Input/result:
    
        var a = function () {
            return null;
        },
            b = false;
    
    Expected:
        var a = function () {
                return null;
            },
            b = false;
    
    If the function is not the first value though, the indentation is
    correct.
    einars committed Apr 19, 2011
  2. Inserts space in typeof (...) when jslint_happy

      a = typeof (x)
    
    jslint_happy = false:
    
      a = typeof(x)
    
    jslint_happy:
    
      a = typeof (x)
    einars committed Apr 19, 2011
  3. Change parameter space_after... -> jslint_happy

    beautify.js still supports the old option, nothing should change for you
    in case you use that. For now.
    einars committed Apr 19, 2011
Commits on Apr 12, 2011
Commits on Apr 9, 2011
Commits on Mar 31, 2011
  1. Vastly improve python speed

    Processing time on a 2 MB benchmark js dropped from minute to 15s.
    einars committed Mar 31, 2011
  2. Fix rare-ish bug with OBJECT mode

    einars committed Mar 31, 2011
  3. Fix python typo

    Minor beautifying error creeped in, resulting in python version
    
        function foo() { bar(); } xxxx
    
    transforming to
    
        function foo() {
            bar();
        } xxxx
    
    (Only python version was affected)
    einars committed Mar 31, 2011
  4. fix for "else break"

    else break / else return got split to two separate lines.
    
    Also, make javascript use same tests as python: I did a minor cleanup
    while writing the python version.
    einars committed Mar 31, 2011
Commits on Mar 29, 2011
Commits on Mar 28, 2011
  1. Add link to the new Chrome extension,

    Also fix some tiny things.
    einars committed Mar 28, 2011
  2. Fix Opera's extension link

    einars committed Mar 28, 2011
Commits on Mar 27, 2011
  1. It's official: python/jsbeautifier.py

    Also, move some things around.
    einars committed Mar 27, 2011
Commits on Mar 25, 2011
  1. Add link to Dither's Opera addon

    einars committed Mar 25, 2011
Commits on Mar 24, 2011
Commits on Mar 23, 2011
  1. Fix a minor html typo

    einars committed Mar 23, 2011
  2. AkelPad beautifier link

    einars committed Mar 23, 2011
  3. style_html obeys brace_style

    einars committed Mar 23, 2011
  4. Fix for single else

    Input:
    
        if (foo)
            bar();
        else
            baz();
    
    Was:
    
        if (foo) bar();
        else
        baz();
    
    Is:
    
        if (foo) bar();
        else baz();
    einars committed Mar 23, 2011
Commits on Mar 22, 2011
Commits on Mar 21, 2011
  1. Fix some braces-on-own-line uglinesses

      var foo = {}
    
    got destroyed to
    
      var foo =
      {
      }
    
    braces-on-own-line is quite poorly tested, some regressions are
    possible.
    einars committed Mar 21, 2011
  2. Link to Tom's chrome plugin

    einars committed Mar 21, 2011
Commits on Feb 8, 2011
  1. Do not mess up shebangs

    einars committed Feb 8, 2011
Commits on Jan 31, 2011
  1. Merge branch 'array_objects'

    einars committed Jan 31, 2011
  2. Better format objects in arrays

    Was:
    
        var o = [{
            fu: 'bar'
        },
        {
            bar: 'fu'
        }];
    
    Is:
    
        var o = [{
            fu: 'bar'
        }, {
            bar: 'fu'
        }];
    einars committed Jan 31, 2011
Commits on Jan 10, 2011
  1. Merge branch 'newline_preserve'

    einars committed Jan 10, 2011
  2. Fix for twiggling newline when !preserve_newlines

    function foo() {
        return 1;
    }
    function bar() {
        return 2;
    }
    
    returned with empty line between functions on first run, and removed on
    the next run.
    einars committed Jan 10, 2011