parse new (xxx) too

This commit is contained in:
Tobias Koppers 2012-03-11 22:45:21 +01:00
parent 36e1de21ad
commit c34fcd16db
2 changed files with 2 additions and 1 deletions

View File

@ -160,6 +160,7 @@ function walkExpression(context, expression) {
walkExpression(context, expression.consequent);
break;
case "NewExpression":
walkExpression(context, expression.callee);
if(expression.arguments)
walkExpressions(context, expression.arguments);
break;

View File

@ -1,6 +1,6 @@
{
"name": "webpack",
"version": "0.1.2",
"version": "0.1.4",
"author": "Tobias Koppers @sokra",
"description": "Packs CommonJs Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand.",
"dependencies": {