Created
March 5, 2015 03:54
-
-
Save jviereck/db92e99a1dbe342b439b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ acorn-babel git:(master5) ✗ diff acorn_csp.js acorn_csp_mod.js | |
| 4127a4128,4139 | |
| > function parseJSXStyle() { | |
| > var node = startNode(); | |
| > var initialTokenStart = tokStart; | |
| > | |
| > while (tokType !== _jsxTagStart) { next(); } | |
| > | |
| > var val = input.slice(initialTokenStart, tokStart); | |
| > node.value = val; | |
| > node.raw = val | |
| > return finishNode(node, "Literal"); | |
| > } | |
| > | |
| 4156,4159c4168,4171 | |
| < children.push(parseExprAtom()); | |
| < } else | |
| < // raise ('bailout', getQualifiedJSXName(openingElement.name)); | |
| < children.push(parseJSXExpressionContainer()); | |
| --- | |
| > children.push(parseJSXStyle()); | |
| > } else { | |
| > children.push(parseJSXExpressionContainer()); | |
| > } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment