G Scott Olson
c9bac95034
Fix nested UL spacing.
2014-05-21 15:26:01 -04:00
G Scott Olson
7094737782
Improve readability of multi-line nav items.
2014-05-21 10:55:42 -04:00
Paul O’Shannessy
c6309567c9
Merge pull request #1559 from spicyj/gh-1376
...
Allow unmounting title tag
2014-05-20 11:23:36 -07:00
Paul O’Shannessy
e63eab111c
Merge pull request #1553 from givingstage/invalid_checksum_warning_spacing
...
Fixed spacing of invalid checksum warning
2014-05-20 11:23:19 -07:00
Paul O’Shannessy
6c595d55dc
Merge pull request #1571 from spicyj/style-test
...
Switch style test to pass in jsdom
2014-05-20 11:22:30 -07:00
Ben Alpert
2d26451821
Add configuration for running tests with Jest
...
Can be run with `node_modules/.bin/jest` for now; didn't want to disturb the grunt setup.
Right now one test fails with:
```
FAIL browser/ui/__tests__/ReactDOMComponent-test.js (1.423s)
● ReactDOMComponent › updateDOM › it should update styles when mutating style object
- Expected: '0' toEqual: '0.5'
at Spec.<anonymous> (src/browser/ui/__tests__/ReactDOMComponent-test.js:99:33)
```
which I can only assume is a jsdom problem -- no other asserts fail.
2014-05-19 16:58:33 -07:00
Ben Alpert
4e5ed8317b
Switch style test to pass in jsdom
...
This should be testing approximately the same thing and passes in Jest.
Test Plan: Cherry-pick Jest config from #1528 and verify that running `jest`.
2014-05-19 16:56:30 -07:00
Paul O’Shannessy
5933d97cb6
Merge pull request #1563 from spicyj/travis-no-sauce
...
Don't fail Travis on sauce failures
2014-05-19 13:28:09 -07:00
Ben Alpert
8db8e60a38
Don't fail Travis on sauce failures
...
Fixes #1496 .
2014-05-19 13:23:07 -07:00
Paul O’Shannessy
ab58ecefa7
Merge pull request #1564 from spicyj/hop-ie8
...
Use Object.prototype.hasOwnProperty for doc in IE8
2014-05-19 13:15:25 -07:00
Ben Alpert
550795445e
Use Object.prototype.hasOwnProperty for doc in IE8
...
Test Plan: Loaded ballmer-peak example in IE8 without errors and interacted with the text field.
2014-05-19 13:09:47 -07:00
Paul O’Shannessy
0c6bee049e
Merge pull request #1189 from spicyj/hasown
...
Add hasOwnProperty checks where appropriate
2014-05-19 09:38:56 -07:00
Ben Alpert
4935d04d50
Allow unmounting title tag
...
cf. #1376 .
This is useful for SVG. Dynamically adding and removing `<title>` elements in SVG still won't work properly because of getMarkupWrap but this at least lets you include it in initial render and then unmount the entire `<svg>` without problems.
2014-05-18 23:19:51 -07:00
Ben Alpert
66291d2761
Merge pull request #1558 from nhunzaker/fix-1530
...
Fix 1530 - Asynchronously load scripts with JSX transformer
2014-05-18 13:04:11 -07:00
Nate Hunzaker
bc79f623a1
Asynchronously load scripts with JSX transformer.
2014-05-18 15:41:41 -04:00
Ben Alpert
1baca43391
Mention PropTypes in top-level API
...
cf. #449
2014-05-18 00:15:35 -07:00
Ben Alpert
f1a5a4c58e
Be more specific with createClass, renderComponent
...
Closes #371 .
2014-05-18 00:15:35 -07:00
Ben Alpert
566af16e64
Tweak getting started wording
2014-05-18 00:15:35 -07:00
Thomas Shafer
0a7128c70f
Fixed spacing of invalid checksum warning
2014-05-17 20:04:52 -07:00
Ben Alpert
e9653aad6a
Merge pull request #1552 from t3chnoboy/master
...
Update Jasmine link
2014-05-17 18:33:51 -07:00
Dmitry Mazuro
8192b8c27f
Update Jasmine link
2014-05-18 04:30:02 +03:00
Ben Alpert
78958fe0f5
Remove references to autoflow
...
Most references were removed in 6e59561; this should be the last.
2014-05-17 15:15:26 -07:00
Ben Alpert and Paul O’Shannessy
6c331fba07
Add hasOwnProperty checks where appropriate
...
For boolean-like objects, I've added hasOwnProperty checks in addition to the existing truthiness check even though for most of these dicts, we leave out false keys instead of setting them explicitly to false.
In DOMPropertyOperations, we don't need to check hasOwnProperty if the property is in isStandardName because (with the exception of getPossibleStandardName) the dicts on DOMProperty will now be consistently populated with every valid attribute.
2014-05-16 10:59:51 -07:00
Paul O’Shannessy
4558e2c4bc
Merge pull request #1491 from naturalatlas/itemscope
...
Added support for itemscope, itemtype, itemprop attributes.
2014-05-15 14:48:51 -07:00
Jan Kassens
46de927a28
Merge pull request #1537 from chenglou/rm-filter-attrs
...
Remove filterAttributes.js
2014-05-15 12:16:35 -07:00
Cheng Lou
80a5463a2c
Remove filterAttributes.js
...
This is no longer needed because of https://github.com/facebook/react/commit/089a494a1f0cc1892f1525fd746bac10c5a55175
mutateHTMLNodeWithMarkup.js was the only one using it.
2014-05-15 14:14:38 -04:00
Ben Alpert
c913c95908
Update Simulate docs to reflect reality
...
cf. #1532 , #1445 .
2014-05-14 21:39:00 -07:00
Pete Hunt
b66202eb98
Merge pull request #1487 from somethingkindawierd/master
...
Adds svg mask and pattern dom components
2014-05-13 11:28:59 -07:00
Paul O’Shannessy
a00199ddd2
Merge pull request #1358 from spicyj/one-transaction
...
Share reconcile transaction in batched updates
2014-05-13 10:47:03 -07:00
Josh Duck and Paul O’Shannessy
29f3f74c52
Make perf show all exclusive time, not just render time.
...
Currently require('ReactDefaultPerf').printExclusive() shows render
time and aggregate componentMount time.
This makes it show exclusive mount time by tracking a stack.
2014-05-12 16:39:09 -07:00
Pete Hunt
7268f44c94
Merge pull request #1504 from spicyj/flux-621
...
Start Flux video at 10m21s
2014-05-12 13:44:21 -07:00
Pete Hunt
e4f80f301d
Merge pull request #1516 from syranide/es5err
...
Preemptively error when required ES5 shim/shams are not available
2014-05-12 13:40:00 -07:00
Ben Alpert
d46e1588f9
Update Flux README to point at website post/docs
2014-05-12 01:33:53 -07:00
Ben Alpert
76abdddae8
todomvc-flux: Depend on uglify-js, not uglifyjs
...
Fixes #1505 .
Confusingly, the uglify-js package provides the `uglifyjs` binary and `npm run-script build` didn't work if uglify-js wasn't installed globally; now it does.
2014-05-12 01:14:01 -07:00
Andreas Svensson
659b7981e1
Preemptively error when required ES5 shim/shams are not available
2014-05-11 21:20:07 +02:00
Ben Alpert
6b1c546602
Add missing emitChange() to Flux docs
2014-05-10 17:50:26 -03:00
Ben Alpert
6b758ef283
Merge pull request #1503 from dybskiy/patch-2
...
Update flux-todo-list.md
2014-05-09 15:38:18 -03:00
Ben Alpert
39a0dbaebe
Start Flux video at 10m21s
2014-05-09 15:34:12 -03:00
Yuriy Dybskiy
d5a5840d31
Update flux-todo-list.md
...
Fix broken link to todomvc-flux repo
@spicyj cla signed
2014-05-09 11:11:42 -07:00
Daniel Lo Nigro
bf957c6c50
Fix minor typo
2014-05-09 10:01:40 -07:00
Brian Reavis
f399b68201
Stylistic changes.
2014-05-08 23:25:10 -07:00
fisherwebdev
39ec28f6f4
update Flux tutorial link
2014-05-08 19:57:19 -07:00
Christopher Chedeau
7f9a8385b6
Merge pull request #1499 from vjeux/flux
...
Flux blog post and tutorial
2014-05-08 16:26:43 -07:00
Vjeux
46995dd2fe
Flux blog post and tutorial
2014-05-09 01:22:47 +02:00
Paul O’Shannessy
c4ed2c1c90
Move tagtree image to docs/
...
Missed this in #1470
2014-05-08 11:52:32 -07:00
Paul O’Shannessy
8af991f10b
Codemod mockReturnValue externally
...
320024555c didn't update the mocks module
here, just the callsites.
2014-05-08 10:47:44 -07:00
Christopher Chedeau and Paul O’Shannessy
320024555c
Codemod mockDefaultReturnValue
...
The naming is super confusing.
mockReturnValue -> mockReturnValueOnce
mockDefaultReturnValue -> mockReturnValue
2014-05-08 10:11:38 -07:00
Paul O’Shannessy
562b1b201e
Merge pull request #1492 from spicyj/rtg-from-false
...
ReactTransitionGroup: Fix moving from falsey child
2014-05-08 09:46:49 -07:00
Jon Beebe
c50dbb0ec1
Adds svg pattern and mask components
2014-05-08 07:16:28 -05:00
Paul O’Shannessy
32b84a4c5e
Merge pull request #1460 from spicyj/tg2
...
Actually fix transitioning to null
2014-05-07 17:12:05 -07:00