Merge branch 'multiline' of https://github.com/thetalecrafter/acorn-jsx into thetalecrafter-multiline

Conflicts:
	acorn.js
	acorn_loose.js
	package.json
This commit is contained in:
Sebastian McKenzie
2015-02-13 15:03:03 +11:00
2 changed files with 53 additions and 9 deletions

View File

@@ -3587,6 +3587,42 @@ var fbTestFixture = {
closingElement: null,
children: []
}
},
'<path d="M230 80\n\t\tA 45 45, 0, 1, 0, 275 125 \r\n L 275 80 Z"/>': {
type: "ExpressionStatement",
expression: {
type: "JSXElement",
range: [0, 64],
openingElement: {
type: "JSXOpeningElement",
range: [0, 64],
attributes: [
{
type: "JSXAttribute",
range: [6, 62],
name: {
type: "JSXIdentifier",
range: [6, 7],
name: "d"
},
value: {
type: "Literal",
range: [8, 62],
value: "M230 80\n\t\tA 45 45, 0, 1, 0, 275 125 \r\n L 275 80 Z",
raw: "\"M230 80\n\t\tA 45 45, 0, 1, 0, 275 125 \r\n L 275 80 Z\""
}
}
],
name: {
type: "JSXIdentifier",
range: [1, 5],
name: "path"
},
selfClosing: true
},
closingElement: null,
children: []
}
}
}
};
@@ -3604,8 +3640,7 @@ for (var ns in fbTestFixture) {
}, {
ecmaVersion: 6,
locations: true,
ranges: true,
loose: false
ranges: true
});
}
}