-
Notifications
You must be signed in to change notification settings - Fork 47.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.__DEV__
should not be compiled to window.true
#496
Labels
Comments
Closed
This benjamn/populist#8 made it a lot easier to find this problem. |
benjamn
added a commit
to benjamn/react
that referenced
this issue
Nov 13, 2013
Most notably, this new style of transformation gives us access to this.parent.node, which allows us to avoid replacing identifiers that are not actually free variables, such as member expression properties. Closes facebook#496.
Still happening |
Try doing |
That worked. |
benjamn
added a commit
to benjamn/react
that referenced
this issue
Dec 4, 2013
Pull request facebook#526 updated the behavior of vendor/constants.js without changing any source files or the bin/jsx-internal script, so files that should have been rebuilt (like utils/__tests__/ImmutableObject-test.js) were not automatically rebuilt (unless you knew to do `grunt clean` or `rm -rf .module-cache` manually). This commit allows us to bump a version number when we know the transform toolchain has been altered in a way that will not be visible to commoner/jsx. With this convention, if we reset to an older revision (e.g. during a git bisect) and the appropriate cached module files are still in the .module-cache/, they can be used without rebuilding. That's why I prefer this approach to just deleting the .module-cache/. Closes facebook#104. Closes facebook#496. Closes facebook#530.
benjamn
added a commit
that referenced
this issue
Dec 13, 2013
Most notably, this new style of transformation gives us access to this.parent.node, which allows us to avoid replacing identifiers that are not actually free variables, such as member expression properties. Closes #496. Conflicts: package.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This throws a syntax error in IE8.
build/modules/utils/__tests__/ImmutableObject-test.js:62
I'm not sure which code is doing this transformation, but this is clearly not what should be happening.
The text was updated successfully, but these errors were encountered: