parse new (xxx) too
This commit is contained in:
parent
36e1de21ad
commit
c34fcd16db
|
@ -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;
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue