Permalink
Switch branches/tags
Nothing to show
Commits on Jun 10, 2009
  1. Typo.

    einars committed Jun 10, 2009
Commits on Jun 5, 2009
  1. Fix for "function" statement

    einars committed Jun 5, 2009
    Correct:
    
    var options = $.extend(defaults, options, function() {
        alert('test');
    });
    
    Wrong:
    
    var options = $.extend(defaults, options,
    function() {
        alert('test');
    });
Commits on May 15, 2009
  1. Added index.html back to git, removed local.html.

    einars committed May 15, 2009
    Supporting local.html was too much of a mess, as I don't use it and
    don't want to keep it up to date. That's what the index is for, anyway.
Commits on May 12, 2009
  1. Spidermonkey sharp variable support

    einars committed May 12, 2009
    Added support for Mozilla/Spidermonkey specific sharp variables that are
    used to define circular references;
    
    Also fixed a non-issue when beautifier could add characters not found in
    original file, when dealing with end-of-input when parsing, e.g having
    at the end of source line like
    
        var a = /abcd
    
    would turn it to
    
        var a = /abcd/
    
    which I found to be against the philosophy of never appending to the
    processed file anything other than whitespace and newlines, even on
    bad input.
Commits on May 5, 2009
  1. Fix for { /regexp/ } mess up.

    einars committed May 5, 2009
Commits on Apr 18, 2009
Commits on Mar 23, 2009
  1. Allow test_js_beautify() to run more than once.

    einars committed Mar 23, 2009
    Nothing really interesting here.
Commits on Feb 22, 2009
  1. Added bin/beautify_js, which is a wrapper for rhino beautify-cl.js that

    TylerRick committed Feb 22, 2009
    also lets you supply input via standard input rather than suppyling a
    filename. This allows it to be used in vim as a filter command.
Commits on Feb 20, 2009
  1. Updated BBEdit script to reflect latest changes.

    einars committed Feb 20, 2009
    Sent in by Andreas Schneider.
Commits on Feb 16, 2009
  1. for(var a=1,b=2) needless line break fixed.

    einars committed Feb 16, 2009
    Expression for (var a=1, b=2..) won't be split into multiple lines
    any more.
  2. Beautifier script for BBEdit.

    einars committed Feb 16, 2009
    Courtesy of Andreas Schneider.
  3. Rhino command-line script, beautify-cl.js

    einars committed Feb 16, 2009
    Thanks to Patrick Hof for this.
  4. Script for running beautify.js and HTML-Beautify.js from the command …

    courts committed with einars Feb 12, 2009
    …line with Rhino
    
    - Takes command line parameters for indent size and newline preserving
      - Loads JavaScript either from file or URL
  5. Changed line endings to human.

    einars committed Feb 16, 2009
Commits on Feb 10, 2009
Commits on Jan 30, 2009
  1. Minor formatting fix

    einars committed Jan 30, 2009
    Problem:
    
    foo(); (...
    
    expected:
    
      foo();
      (...
    
    was:
    
      foo(); (...
Commits on Jan 8, 2009
Commits on Dec 23, 2008
  1. Added option to ignore existing whitespace.

    einars committed Dec 23, 2008
    For ugly javascript i guess i'm not the only one who needs a
    possibility to throw away existing whitespace and reformat everything
    nicely. For some reason I didn't have this feature, and nobody told
    anything about it. Now there is one, and the world will be slightly
    better place.
Commits on Dec 4, 2008
  1. Changed source control link

    einars committed Dec 4, 2008
Commits on Nov 1, 2008
Commits on Oct 15, 2008
Commits on Sep 28, 2008
  1. HTML changes

    einars committed Sep 28, 2008
  2. Regexp detection didn't take into account modifiers, and last update …

    einars committed Sep 28, 2008
    …triggered the bug visible. /regexp/g is not split anymore.
Commits on Jun 12, 2008
Commits on Jun 10, 2008
  1. - optional indent_level parameter for js_beautify

    einars committed Jun 10, 2008
    - updated Nochum's beautifier (he can do it for himself, but he won't, for some reason)
Commits on Jun 7, 2008
  1. And another test.

    einars committed Jun 7, 2008