Jakub Malinowski
795a84d60f
Do not export load in JSXTransformer unless in a browser environment
2013-07-23 23:01:38 +02:00
Jakub Malinowski
947e17154a
Merge remote branch 'upstream/master' into non-browser-env
2013-07-23 22:31:48 +02:00
Cheng Lou
7f8b2885d9
fix jquery-bootstrap example bugs
...
Old one had some bugs:
- 'x' on modal wasn't showing.
- trying to close modal in unmount, but modal had a closing animation.
2013-07-23 11:01:42 -07:00
Paul O’Shannessy
d1c5cda93f
Use the right home page for react-source gem
2013-07-23 10:55:41 -07:00
Vjeux
975b5d978f
Community Round-up #5
...
http://fooo.fr:4000/react/blog/2013/07/20/community-roundup-5.html
2013-07-23 09:23:50 -07:00
Ben Alpert
f1231e60b0
Call callbacks from setState in component context
...
This is way more useful than the alternative.
2013-07-22 23:47:07 -05:00
Tim Yung
4deb0d619c
Fix Clicks in Mobile Safari
...
This works around a bug with listening to clicks using event delegation on Mobile Safari using an event plugin.
NOTE: We don't enable touch events by default, so I don't know if would want to inject this plugin by default. In fact, I'm not sure what our strategy is at all for when to invoke `React.useTouchEvents(true)`.
2013-07-22 18:31:33 -07:00
Tim Yung
cf3ff07f92
Fix TypeError in SyntheticEvent
...
I suspect that plugins are modifying `Object.prototype` which is causing TypeErrors in `SyntheticEvent`. Let's fix it.
2013-07-22 18:31:08 -07:00
Paul O’Shannessy
bbb4a367be
Run grunt build with npm test so that we can upload all files
2013-07-22 18:16:44 -07:00
Paul O’Shannessy
63d6cc013e
Push builds from travis to remote host
2013-07-22 18:07:43 -07:00
Paul O'Shannessy
d1d2d8d463
Don't set DOM attributes to "undefined" on update
...
We already skip `null` and `undefined` when building up the stringified html on first render, but if you update a component to the *exact same* conditions, React will leave the DOM in a different state. We shouldn't do that.
2013-07-22 10:28:21 -07:00
Jordan Walke
74cfc9c274
Remove unused dependency on ReactMount
...
We don't really use these, and this will make our lives easier.
2013-07-22 10:28:12 -07:00
Ben Newman
add809be21
Add comment explaining internalGetID
2013-07-22 10:28:09 -07:00
Paul O’Shannessy
579d86f024
Merge pull request #218 from chenglou/patch-2
...
upgrade example to 0.4
2013-07-20 16:33:05 -07:00
Cheng Lou
73ceb5a401
upgrade example to 0.4
...
manually tested
2013-07-20 16:05:25 -04:00
Jakub Malinowski
2b9dd04f4d
Allow to execute JSXTransformer outside of browser environment
2013-07-20 15:10:36 +02:00
Paul O’Shannessy
4f53fbf1a2
Merge pull request #216 from phleet/patch-1
...
Docs Typo Fix: s/pased/passed
2013-07-19 16:47:44 -07:00
Cheng Lou
64d72f8c4b
fix typos
2013-07-19 16:40:09 -07:00
Jamie Wong
50a00662cf
s/pased/passed
2013-07-19 18:48:46 -04:00
Paul O’Shannessy
d7fcbe0f96
Merge pull request #213 from benjamn/remove-stray-nodes-after-each-test
...
After each test, remove any stray nodes added to the document
2013-07-19 11:26:50 -07:00
Ben Newman
0441d4c7f5
Rename removeSiblings to removeNextSiblings.
2013-07-19 14:18:44 -04:00
Paul O’Shannessy
d9aa2bd12c
Merge pull request #212 from spicyj/docfix
...
One-character typo fix
2013-07-19 11:02:40 -07:00
Ben Alpert
222faf4544
One-character typo fix
2013-07-19 10:55:31 -07:00
Ben Newman
36fbd8d941
After each test, remove any stray nodes added to the document.
...
This was not necessary when we were running each test in its own
`<iframe>`, and it doesn't seem to affect any test behavior currently, but
it seems wise for the sake of test isolation and hygiene.
2013-07-19 13:53:15 -04:00
Paul O’Shannessy
547079763e
Merge pull request #211 from phleet/patch-1
...
Docs Typo Fix: s/distinciton/distinction
2013-07-19 10:36:25 -07:00
Paul O’Shannessy
a7dfe04406
Merge pull request #210 from benjamn/rewrite-Function.prototype.bind-polyfill
...
Pull in my rewritten Function.prototype.bind polyfill from upstream
2013-07-19 10:23:17 -07:00
Jamie Wong
bf275a9097
Docs Typo Fix: s/distinciton/distinction
2013-07-19 12:33:54 -04:00
Ben Newman
507e58ed96
Pull in my rewritten Function.prototype.bind polyfill from upstream.
...
We don't sync upstream polyfills (because we don't have a story for how
they would be used), so this needs to be updated manually.
Sacrificed some negligible performance optimizations to reduce the number
of different cases from four to one.
It's important to test this implementation in PhantomJS, since that's the
only browser that I know of where built-in functions sometimes do not have
a `.prototype`.
2013-07-19 12:28:44 -04:00
Paul O’Shannessy
d9c0be408b
Merge pull request #209 from benjamn/speed-up-tests
...
Abandon <iframe> test isolation hack now that dumpCache works
2013-07-19 09:10:52 -07:00
Ben Newman
5beb481145
Abandon <iframe> test isolation hack now that we have dumpCache.
...
This cuts the running time of `grunt phantom:run` from 4.4s to 3.1s on my
machine, because we no longer have to load/execute a separate instance of
`react-test.js` in a separate `<iframe>` for each test.
2013-07-19 11:10:02 -04:00
Ben Newman
7ef5172d80
Don't call require("mock-modules").register("test/all", ...).
...
The "test/all" module will never be mocked, nor should it ever need to be
reset by `dumpCache`.
2013-07-19 11:10:02 -04:00
Hugo Jobling
4ab62a6bd2
remove dead link
...
the event handling doc page no longer exists
2013-07-18 11:05:39 +01:00
Hugo Jobling
07427ae9d0
put closing paren in correct place
2013-07-18 10:44:22 +01:00
Hugo Jobling
8f55d94d40
update dead jsx link to point to an extant page
...
syntax.html no longer exists, so point people at the in depth article instead.
2013-07-18 10:36:54 +01:00
Pete Hunt
e6812d7e36
Add iframe attributes to React
...
These are pretty useful for building apps and stuff.
2013-07-17 20:39:19 -07:00
Ben Newman
75ce576d3d
Avoid some innocuous test warnings.
...
This reduces some console.warning spew from `grunt test` output.
2013-07-17 20:38:32 -07:00
Ben Newman
fa7cc57a6d
Merge pull request #206 from benjamn/getAttribute-instead-of-getAttributeNode
...
Use getAttribute instead of getAttributeNode in ReactID.rawGetID
2013-07-17 18:24:27 -07:00
Ben Newman
fd2125ee94
Use getAttribute instead of getAttributeNode in ReactID.rawGetID.
...
Also known as internalGetID, internally.
2013-07-17 21:14:04 -04:00
Paul O’Shannessy
52e622f1db
Version bump for 0.5.0 development
2013-07-17 16:45:38 -07:00
Paul O’Shannessy
3d7ac69c39
Merge pull request #203 from spicyj/homepage
...
Fix all errors and warnings on homepage
2013-07-17 13:32:52 -07:00
Ben Alpert
e379f8ec03
Fix all errors and warnings on homepage
...
Also onChange instead of onInput in two places!
2013-07-17 13:31:52 -07:00
Paul O’Shannessy
dbdf1cc296
Merge branch 'chenglou-master'
...
Conflicts:
docs/_js/examples/markdown.js
2013-07-17 13:30:22 -07:00
Cheng Lou
dd14fdfdc5
todo fix
2013-07-17 16:28:04 -04:00
Cheng Lou
fc6a567e0e
jsx
2013-07-17 16:25:25 -04:00
Paul O’Shannessy
96bd63cc4b
Fix typo in blogpost
...
I fixed this in the changelog, but missed this one.
2013-07-17 13:23:18 -07:00
Cheng Lou
169b172ffc
textarea format
2013-07-17 16:22:30 -04:00
Paul O’Shannessy
ec67076090
Update readme for 0.4.0
2013-07-17 11:52:29 -07:00
Paul O’Shannessy
9221b15bff
Typo in changelog, update blog leading sentence.
2013-07-17 11:51:27 -07:00
Paul O’Shannessy
a54333842f
Bump version for v0.4.0
v0.4.0
2013-07-17 11:33:31 -07:00
Paul O’Shannessy
0c1f2720b3
Remove React.autoBind from examples
2013-07-17 11:33:31 -07:00