Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: visionmedia/node-jscoverage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: andreyvit/node-jscoverage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Nov 22, 2012

  1. Fix: instrumentation breaks "new(require('foo'))(args)"

    Fix a missing parenthesis when generating code for a new() statement
    applied to an expression, like the example:
    
        new(require('foo'))(args)
    
    which used to generate
    
        new require('foo')(args)
    
    resulting in the returned function being called without 'new'.
    
    I have no idea why on earth TOK_LP calls instrument_function_call; it
    seems to treat all parethesized expressions as function calls, but I
    didn't feel like investigating that.
    andreyvit committed Nov 22, 2012
    Configuration menu
    Copy the full SHA
    c7801a9 View commit details
    Browse the repository at this point in the history
Loading