dillon1000/react

Commit

Add React.version

getConfig needs to be a function because grunt.config.data.pkg.version isn't available at the time that grunt/config/jsx/jsx.js is required.

Test Plan:
grunt build, grunt lint, grunt test all work. After building, both react.js and react.min.js contain the version number.
Browse files
Changed paths7 files
First-parent comparison
D grunt/config/jsx/debug.json DeletedM grunt/config/jsx/jsx.js ModifiedD grunt/config/jsx/release.json DeletedD grunt/config/jsx/test.json DeletedM grunt/tasks/jsx.js ModifiedM src/.jshintrc ModifiedM src/core/React.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…