Ben Newman
f8af93237a
Use bin/jsx and browserify to build a jasmine bundle.
2013-06-03 13:20:13 -04:00
Ben Newman
83029eb756
Make the bin/jsx source and output directories configurable.
2013-06-03 13:20:13 -04:00
Paul O’Shannessy
99c577e210
Merge pull request #38 from camspiers/range-attributes
...
Add attributes used in input[type=range]
2013-06-03 10:19:19 -07:00
petehunt
dd92335dc4
Merge pull request #46 from jordow/ChromeInstructions
...
Adding instructions for chrome. (No server needed! Just execute a single...
2013-06-03 03:22:19 -07:00
jordow
8c37499af8
Adding instructions for chrome. (No server needed! Just execute a single command
...
line to load in Chrome).
2013-06-03 02:43:48 -07:00
petehunt
a32276e400
Fix bug in todomvc
2013-06-03 00:44:20 -07:00
petehunt
83b8ad7a31
Add TODOMVC features
2013-06-03 00:34:23 -07:00
Paul O’Shannessy
dfdf1f82ae
Merge pull request #44 from vjeux/script_download
...
Add <script> tags in the download page for easy embed
2013-06-02 17:25:49 -07:00
Vjeux
cbda00c415
Add <script> tags in the download page for easy embed
2013-06-03 02:17:26 +02:00
Cam Spiers
415192c001
Add attributes used in input[type=range]
2013-06-02 13:32:12 +12:00
petehunt
095fccb974
ReactDOM->React.DOM
2013-06-01 13:01:52 -07:00
Ben Newman
ebff2bc7a3
Merge pull request #36 from jeffreylin/master
...
Fix live_editor.js usage of class=
2013-06-01 06:37:55 -07:00
Jeffrey Lin
a78f752143
Fix live_editor.js usage of class=
2013-05-31 20:50:21 -07:00
Paul O’Shannessy
a70d567ec6
v0.3.2
...
Also some tweaks to package.json details.
2013-05-31 17:10:08 -07:00
petehunt
8d259093bf
Merge pull request #34 from zpao/npm-ship-modules
...
Ship CJS modules instead of browserified build
2013-05-31 15:41:59 -07:00
Paul O’Shannessy
0c6bbf275b
Ship CJS modules instead of browserified build
...
It turns out that if you try to browserify a file requiring react-tools,
it doesn't work. This is because browserify just visits the require
statements in the file and looks for files in that path.
./ReactCompositeComponent doesn't exist and that's the point that fails.
So the fix is to actually ship each of our CJS modules as individual
files like browserify expects. This should have no negative side effects
- we still only export React (though the rest of our modules are now
actually accessible, which might make it easier to do more with the
module).
The other change here is to move source-map to dependencies since it's
required in the transform code.
Test Plan:
```
$ npm pack .
$ cd /tmp
$ npm install path/to/react-tools-0.3.1.tgz
$ echo "require('react-tools')" > test.js
$ browserify test.js
```
2013-05-31 10:57:40 -07:00
petehunt
824a2e0630
Merge pull request #33 from spicyj/docs-fix
...
Update stale event docs in tutorial
2013-05-31 09:52:20 -07:00
Ben Newman
70a99cd1ee
Merge pull request #20 from benjamn/issue-12-test-install-package
...
Provide `grunt npm:test` for verifying NPM package functionality
2013-05-31 07:39:42 -07:00
Ben Newman
60a6665bbd
Provide grunt npm:test for verifying NPM package functionality.
...
This basically calls `npm pack`, installs the resulting package in a temporary directory, then requires it and attempts to use the .transform method.
Closes #12 .
2013-05-31 10:35:39 -04:00
Ben Alpert
2e5dae0c25
Add return false; to onSubmit handlers
2013-05-31 01:46:55 -07:00
Jeff Morrison
2d253fe1dc
Merge pull request #27 from seiffert/master
...
JSX Transformer / DisplayName Visitor: Multiple declarations with one `var` statement
2013-05-30 22:25:51 -07:00
petehunt
bb4788e997
Merge pull request #31 from spicyj/immutable-state
...
Change TodoMVC to not modify state in place
2013-05-30 22:19:59 -07:00
Paul Seiffert
510ced1d13
Removed duplicate object type check
2013-05-31 07:13:49 +02:00
Ben Alpert
767391c26e
Wording tweaks
2013-05-30 20:21:44 -07:00
Ben Alpert
6e805dda24
Change TodoMVC to not modify state in place
...
Instead, use .concat and make a new todos array.
Test Plan:
Added todo items successfully.
2013-05-30 20:19:19 -07:00
Ben Alpert
ea82dba555
Update stale event docs in tutorial
...
The example uses onSubmit but the docs were still referring to onKeyUp.
2013-05-30 18:24:48 -07:00
Paul O’Shannessy
b20a7c2beb
Bump docs version to v0.3.1
2013-05-30 15:06:46 -07:00
Paul O’Shannessy
de2832c0c0
Only re-write docs _config on version bumps
...
Doesn't fix, but mostly addresses the concerns in #24 . Some churn at
version bumps is far better than what we have right now.
2013-05-30 14:57:32 -07:00
Paul O’Shannessy
d40704ab85
Bump to 0.3.1
2013-05-30 14:57:32 -07:00
Timothy Yung
2cde6ff60f
Merge pull request #29 from petehunt/mixin-docs
...
[docs] Return of mixin docs
2013-05-30 14:52:43 -07:00
petehunt
f586c58f96
@yungsters
2013-05-30 14:45:22 -07:00
petehunt
84d4bbb13d
bla
2013-05-30 14:23:53 -07:00
petehunt
071201e84b
fixes
2013-05-30 14:22:05 -07:00
petehunt
15d8200b13
oops
2013-05-30 14:20:50 -07:00
petehunt
d73c2b23e0
Return of mixin docs
2013-05-30 14:20:50 -07:00
petehunt
a808d48169
add localstorage, oops
2013-05-30 14:19:33 -07:00
Paul O’Shannessy
6ed829ff95
Merge branch 'master' of github.com:facebook/react
2013-05-30 11:54:14 -07:00
petehunt
a52512863e
Clean up todomvc examples: autoBind(), onSubmit
2013-05-30 11:53:23 -07:00
petehunt
4297b1ad55
remove unused const
2013-05-30 11:53:23 -07:00
Paul Seiffert
b03f04ff24
Fixing Bug in JSX transformer
...
The bug fixed by this commit prevented the correct parsing of
`var` statements with multiple variables being declared. Instead
of trying to parse a whole 'variable declarations' (a `var`
statement with all its declarations), this visitor now only
parses single 'variable declarators'.
2013-05-30 20:51:15 +02:00
Paul O’Shannessy
86eeef1ccd
Update bower install command
...
Fixes #21
2013-05-30 11:49:57 -07:00
Timothy Yung
ce2d7991c9
Merge pull request #23 from yungsters/jsx-compiler
...
Add a JSX Compiler tool.
2013-05-30 11:41:24 -07:00
yungsters
5d812949a1
Ignore "docs/js/jsx-compiler.js" from Git.
2013-05-30 11:37:56 -07:00
yungsters
855c82e224
Revise 'live_editor.js' using JSX.
2013-05-30 11:31:21 -07:00
yungsters
955b472f8b
Add a JSX Compiler tool.
2013-05-30 11:26:36 -07:00
petehunt
c5612b34c9
Merge pull request #19 from seiffert/submit_button
...
Docs/Tutorial: Introducing a submit button in the comment form
2013-05-30 11:15:40 -07:00
Paul O’Shannessy
9894e7e1fe
Merge pull request #22 from yungsters/docs
...
[docs] Revise marketing copy around JSX.
2013-05-30 11:09:47 -07:00
Paul O’Shannessy
7dd4576ee4
Merge pull request #17 from seiffert/master
...
Docs/Tutorial: Highlighting the correct line
2013-05-30 10:32:42 -07:00
yungsters
5fc2aad364
[docs] Revise marketing copy around JSX.
2013-05-30 10:05:53 -07:00
Ben Newman
507ad5bac5
Prominently display Travis build status.
2013-05-30 12:57:51 -03:00