Switch branches/tags
Nothing to show
Commits on Nov 6, 2011
  1. merged and fixed conflict

    bjouhier committed Nov 6, 2011
Commits on Nov 5, 2011
  1. Fix dynamic member calls

    laverdet committed Nov 5, 2011
    Forgot to push the cursor up so there was a renegade "[" causing parse
  2. Fix contrived collision bug

    laverdet committed Nov 5, 2011
    If you do this:
    function foo() {
    	function foo_() {
    There is a collision of variables. This is fixed by just scanning ahead
    for all identifiers first. There's a non-zero chance this would come up
    in real code.
  3. Function hoisting fixes, among other improvements

    laverdet committed Nov 5, 2011
    - Hoist functions (maintains line numbers)
    - Optimize calls to known streamlined functions
    - Split transform \ runtime code into 2 files
    - Fixes several bugs I found along the way
    - Fail loudly on calling streamlined FunctionExpressions by name
  4. Maintain line numbers in rewritten code

    laverdet committed Nov 5, 2011
    This no longer uses UglifyJS to rewrite because it throws away line
    numbers. Now being used is Narcissus which keeps line numbers around.
    It's a bit harder to walk these ASTs but worth the line numbers.
    No attempt is made to fix any existing deficiencies of the current
    parser. This should be a bug-for-bug rewrite.
    Also comments are maintained
Commits on Nov 4, 2011
  1. Don't catch exceptions for usercallbacks

    laverdet committed Nov 4, 2011
    Callbacks from the user-supplied function were being executed in a try
    catch block, and then errors thrown from the callback were passed back
    as an error param. That's silly.
Commits on Oct 28, 2011
  1. initial comit

    laverdet committed Oct 28, 2011