Permalink
Switch branches/tags
Commits on Jun 27, 2014
  1. Merge pull request #34 from ugisozols/master

    rkh committed Jun 27, 2014
    Remove extra 'was' from readme.
Commits on Jun 26, 2014
Commits on Feb 7, 2014
  1. Revert "Merge pull request #33 from schacon/chacon-rulez"

    tenderlove committed Feb 7, 2014
    This reverts commit ac4cf24, reversing
    changes made to 31fffd1.
  2. Merge pull request #33 from schacon/chacon-rulez

    tenderlove committed Feb 7, 2014
    Really Important Change
  3. hahahahahha

    schacon committed Feb 7, 2014
Commits on Jun 5, 2013
  1. Merge pull request #19 from nene/master

    rkh committed Jun 5, 2013
    Speed up Tokenizer about 30 x
Commits on Jun 4, 2013
  1. Speed up Tokenizer by using StringScanner.

    nene committed Jun 4, 2013
    Slicing the string after each token made the tokenizing process
    really slow.
    
    I eliminated this inneficency by using Ruby's builtin StringScanner,
    that's well suited for this task.
    
    Before this change, it took about 14 seconds to tokenize a 3000-line
    JavaScript file.  Now it takes just about 0.4 seconds.  That's about
    30 x speedup.
Commits on May 24, 2013
  1. Merge pull request #17 from fmobus/master

    rkh committed May 24, 2013
    lib breaks on ruby 1.9.3 because of a regexp that is not compatible
Commits on Jan 1, 2013
Commits on Oct 9, 2012
  1. Merge pull request #15 from svent/regex_modifier

    tenderlove committed Oct 9, 2012
    add support for the 'm' regex modifier
Commits on Oct 3, 2012
  1. Merge pull request #14 from sasmith/master

    tenderlove committed Oct 3, 2012
    Updates tokenizer to correctly parse `/*comment*/index`
Commits on Oct 2, 2012
  1. Updates tokenizer to correctly parse `/*comment*/i`

    Alex Smith
    Alex Smith committed Oct 2, 2012
  2. Merge pull request #13 from sasmith/master

    tenderlove committed Oct 2, 2012
    Updates tokenizer to correctly parse `return /foo/`
  3. Updates tokenizer to correctly parse 'return /foo/'

    Alex Smith
    Alex Smith committed Oct 2, 2012
Commits on Sep 10, 2012
  1. fix #2

    Doug McInnes
    Doug McInnes committed Sep 10, 2012
    make sure var is rendered in to_ecma for "for (var i in a)"
Commits on Aug 27, 2012
  1. "While" defined twice

    Doug McInnes
    Doug McInnes committed Aug 27, 2012
  2. support switch default in ecma_visitor

    Doug McInnes
    Doug McInnes committed Aug 27, 2012
Commits on Jan 10, 2012
  1. Merge pull request #10 from rkh/patch-1

    tenderlove committed Jan 10, 2012
    remove eval
Commits on Jan 9, 2012
  1. remove eval

    rkh committed Jan 9, 2012
Commits on Dec 6, 2011
  1. version 1.0.4

    Doug McInnes
    Doug McInnes committed Dec 6, 2011
Commits on Nov 3, 2011
  1. ignore spaces when testing for regex vs division

    Doug McInnes
    Doug McInnes committed Nov 3, 2011
  2. Fixed bug that caused void(0) to be interpreted as a keyword instead …

    camertron authored and Doug McInnes committed Jul 26, 2011
    …of a function call, thus causing a ParentheticalNode to be created and causing the ecma visitor to output void((0))
  3. end_with? instead of [-1] for 1.8.7 compatibility

    Doug McInnes
    Doug McInnes committed Nov 3, 2011
  4. fixing more tests

    tenderlove committed Nov 3, 2011
  5. fixing circular require

    tenderlove committed Nov 3, 2011
  6. ignoring the package dir

    tenderlove committed Feb 28, 2011
Commits on Nov 2, 2011
  1. Merge pull request #8 from dmcinnes/master

    tenderlove committed Nov 2, 2011
    Fix for loop ECMA Script rendering
Commits on Nov 1, 2011
  1. Merge remote-tracking branch 'tenderlove/master'

    Doug McInnes
    Doug McInnes committed Nov 1, 2011
Commits on Oct 11, 2011
  1. Merge pull request #6 from egypt/master

    tenderlove committed Oct 11, 2011
    Add a ParentheticalNode to fix #4
Commits on Jun 16, 2011
  1. fix ECMA output for loop edgecase

    Doug McInnes
    Doug McInnes committed Jun 16, 2011
    egypt's fix (thanks!) breaks an odd edgecase with for loops.
    
    Added a test:
    
      1) Failure:
    test_for_node(ECMAVisitorTest) [test/test_ecma_visitor.rb:189]:
    <"var i; for(i = 0; i < 6; ++i) { var x = 10; }"> expected but was
    <"var i; for(i = 0 i < 6; ++i) { var x = 10; }">.
    
    my fix simply adds the ; if it's not there, not sure what the underlying
    problem is.
Commits on Apr 29, 2011
  1. Fix #4 by adding a ParentheticalNode for dealing with arithmetic exp…

    egypt committed Apr 29, 2011
    …ressions containing parentheses