petehunt
065f8abfe3
Merge pull request #48 from petehunt/add-blog
...
Add "Why React"
2013-06-03 12:46:48 -07:00
petehunt
7b5602d00a
@jeffreylin
2013-06-03 12:09:14 -07:00
Paul Shen
2bb7e15773
[docs] RSS: Pass title through xml_escape
2013-06-03 11:36:04 -07:00
Paul Shen
cb9cc5de5c
[docs] Use date_to_xmlschema in feed.xml
2013-06-03 11:34:42 -07:00
petehunt
0244123a52
Break lines
2013-06-03 11:19:51 -07:00
petehunt
1897bb3d2e
@vjeux @benjamn
2013-06-03 11:16:38 -07:00
Paul Shen
b353e8a807
[docs] Add RSS feed.xml for blog posts
...
uses `feed.xml` from https://github.com/snaptortoise/jekyll-rss-feeds
(slightly modified for `site.url` + `site.baseurl`)
2013-06-03 11:02:14 -07:00
petehunt
b3e2aca13a
Add why-react
2013-06-03 11:01:08 -07:00
Ben Newman
e829f8f71f
Merge pull request #1 from benjamn/run-tests-in-iframes
...
Run each test in its own <iframe>
2013-06-03 10:58:01 -07:00
Paul Shen
9425e58591
Merge pull request #42 from vjeux/blog
...
Blog article for JSFiddle Integration
2013-06-03 10:44:23 -07:00
Ben Newman
603c9ef6a8
Implement constructor-aware binding per @zpao's request.
...
When the function to be bound does not have a prototype, ignore the constructor case.
2013-06-03 13:20:13 -04:00
Ben Newman
906b8f3f95
Create testing <iframe>s dynamically, according to grunt config.
2013-06-03 13:20:13 -04:00
Ben Newman
6cfa71a3c2
Run each test in an <iframe>.
2013-06-03 13:20:13 -04:00
Ben Newman
42f8d155f8
Silence tests unsupported in PhantomJS.
...
These tests can still be run in the browser using `grunt test --debug`.
2013-06-03 13:20:13 -04:00
Ben Newman
009c0b9200
Expose test modules for requirement.
2013-06-03 13:20:13 -04:00
Ben Newman
c740373b31
Fix some silly uses of Function.prototype.bind in jasmine-support.js.
2013-06-03 13:20:13 -04:00
Ben Newman
03f92bb155
Polyfill Function.prototype.bind during tests.
2013-06-03 13:20:13 -04:00
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
Vjeux
21dab3d7d8
Add JSFiddle to the getting started section
2013-06-03 01:59:06 +02:00
Vjeux
9b399968eb
Add a base link without JSX
2013-06-03 01:28:22 +02:00
Vjeux
df361e9dd6
Adding \n at the end of the files
2013-06-03 01:06:05 +02:00
Vjeux
245f501120
Adding a left menu navigation
2013-06-03 01:04:19 +02:00
Vjeux
1902eafa8d
Initial version of the blog
2013-06-03 00:48:15 +02:00
David Hu
7795968382
Consistently use autoBind on homepage examples
...
Except for todo.js, all the other examples on the homepage use React.autoBind
when defining event handler methods.
Test Plan: Added todo items successfully
2013-06-02 12:04:16 -07:00
Cam Spiers
415192c001
Add attributes used in input[type=range]
2013-06-02 13:32:12 +12:00
Ben Alpert
580e8f0dbb
Simulate input event instead of relying on native
...
Test Plan:
With the ballmer-peak example (modified to use input), tested that the
percentage updates when adding or deleting text in the field on Chrome
and IE9. After adding es5-shim and es5-sham to the ballmer-peak page,
IE8 works properly too.
2013-06-01 16:55:19 -07: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