Skip to content

Commit c34fcd1

Browse files
committed
parse new (xxx) too
1 parent 36e1de2 commit c34fcd1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/parse.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ function walkExpression(context, expression) {
160160
walkExpression(context, expression.consequent);
161161
break;
162162
case "NewExpression":
163+
walkExpression(context, expression.callee);
163164
if(expression.arguments)
164165
walkExpressions(context, expression.arguments);
165166
break;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack",
3-
"version": "0.1.2",
3+
"version": "0.1.4",
44
"author": "Tobias Koppers @sokra",
55
"description": "Packs CommonJs Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand.",
66
"dependencies": {

0 commit comments

Comments
 (0)