Paul O’Shannessy
4e5f5df4f6
Remove @jsx from examples
2014-10-23 20:51:11 -07:00
Paul O’Shannessy
4cfd8c6204
Update server servering example
...
It's referencing packages that aren't published yet but it *probably*
works...
2014-10-23 20:51:11 -07:00
Paul O’Shannessy
f53854bd93
React.renderComponent -> React.render
...
This covers most everything. The perf suite still needs work for the
Element updates. And the server rendering example needs to be done
wholesale.
2014-10-23 20:51:11 -07:00
Paul O’Shannessy
7dc0e3d746
Update licenses for docs and examples
...
Docs are now CC licensed
Examples are under a separate license
2014-10-22 12:35:08 -07:00
Paul O’Shannessy
bc672c8bc5
Merge pull request #2344 from ThomasCrvsr/master
...
Use React.createFactory in examples/basic/
2014-10-15 10:48:33 -07:00
ThomasCrvsr
e3734e2b43
#2315 : Use of React.createFactory in example basic/
2014-10-15 09:20:25 +02:00
ThomasCrvsr
4f1f8c0605
Use react.createElement in example in basic/
2014-10-14 10:18:00 +02:00
Alexey Raspopov
1db3ed0d6d
fix: var name
2014-10-12 16:06:53 +03:00
Alexey Raspopov
cc0e7d2a79
ballmer-peak: use composition instead of mutable state
2014-10-12 16:05:58 +03:00
Paul O’Shannessy
61c42ccdee
Update Bootstrap example to 3.2.0
2014-09-08 14:32:19 -07:00
Paul O’Shannessy
1033c4805f
Remove TodoMVC flux example
...
It lives at https://github.com/facebook/flux/tree/master/examples/flux-todomvc now.
2014-08-11 13:02:12 -07:00
Ben Alpert
f7af58fa0c
<noscript /> -> null in todomvc-flux Footer
2014-08-11 12:26:10 -07:00
Johannes Emerich
52143700e8
Fix typo
2014-07-30 15:38:19 +02:00
Garren Smith
0c4be5a8f9
Update Todo MVC example
...
A small patch for the Todo MVC example to use React 0.11.0.
This then allows the `MainSection` to return `null` instead of
previous `<noscript/>`.
2014-07-18 10:51:43 +02:00
Enguerran
0d481c69a5
another way to fix the footer that is not shown
2014-07-09 10:39:14 +02:00
Enguerran
745082c0ac
fix the disappearing footer on the todomvc-flux sample
2014-07-08 11:59:07 +02:00
Ben Alpert
bc11793c04
Fix code style in TodoMVC Flux example
2014-06-27 22:16:42 -07:00
Paul O’Shannessy
8dcad5e09c
Merge pull request #1622 from gebrits/patch-1
...
Update todo example. fixes 'Create' that shouldn't happen
2014-06-27 17:57:01 -07:00
Paul O’Shannessy
77150630e2
Merge pull request #1542 from remixz/gh-1420
...
Add harmony transform support in browser
Fixes #1420 . Moved some code around in the merge to account for more
changes in the transform code.
Conflicts:
vendor/browser-transforms.js
2014-06-20 10:55:06 -04:00
Bojan Mihelac
84135bc605
Missing semicolon in TodoStore.js
2014-06-18 10:34:53 +02:00
Randall Randall
6d0e2feb52
Fix wording.
...
The Ballmer Peak XKCD suggests that it's a graph of ability, rather than bug frequency, which should be inversely correlated with ability. A simple change of the wording fixes this terrible mishandling of Ballmer Peak data.
2014-06-12 10:15:13 -04:00
Geert-Jan Brits
0c312222e9
Update todo example. fixes 'Create' that shouldn't happen
...
Currently, an `onBlur` creates a new todo on `TodoTextInput`. This makes sense for existing items but not for new items. I.e consider the following:
1. cursor on new item ("What needs to be done?")
2. click 'x' on the first item.
This results in two actions being fired:
1. TODO_CREATE, with an empty string as 'text'
2. TODO_DESTROY
The proposed fix doesn't send a TODO_CREATE if `text.trim() === "")`
2014-05-29 14:45:42 +02:00
Ben Alpert
03df8d7de0
Ignore built todomvc-flux bundles
2014-05-26 20:27:48 -07:00
Ben Alpert
f761f770e1
Don't load todomvc-common/base.js
...
Fixes #1603 .
It's unnecessary and makes a request to learn.json which doesn't exist.
2014-05-26 20:19:16 -07:00
Ben Alpert
db4a90a9ef
Capitalize README for consistency
2014-05-26 20:14:54 -07:00
Ben Alpert
e1457a14fd
Run all tests, fix indentation
2014-05-23 23:03:13 -07:00
Ben Alpert
1e268c3591
Merge pull request #1556 from joshma/flux-dispatcher-docs
...
Update Flux Dispatcher.dispatch and waitFor examples
2014-05-23 23:01:25 -07:00
Ben Alpert
3e30940bf3
Bump to React 0.10 in TodoMVC Flux
2014-05-23 16:09:47 -07:00
Joshua Ma
7954a861d1
Add more complicated fourth listener to AppDispatcher-test
2014-05-23 12:42:09 -07:00
Joshua Ma
a616742fce
Configure todomvc-flux npm test to use jest
2014-05-23 12:36:38 -07:00
Joshua Ma
f8d0291874
Fix doc typo and remove underscore from local var
2014-05-23 12:34:40 -07:00
Ben Alpert
49652c8e20
Merge pull request #1575 from spicyj/dispatch-index
...
Make promise selection logic clearer
2014-05-21 15:39:53 -07:00
Ben Alpert
4cb4bd0220
Add shims to examples
...
I find myself often using (modified) examples to test in IE and it's a pain to have to add the shims in every time. Might as well just add them in always.
2014-05-21 00:07:18 -07:00
Ben Alpert
e58899cdff
Make promise selection logic clearer
2014-05-20 17:09:05 -07:00
Joshua Ma
de1f783188
Update todomvc dispatcher to match docs, add AppDispatcher test
2014-05-17 22:01:18 -07:00
remixz
3f31ec463f
Change harmony option to "harmony=true"
2014-05-14 15:50:35 -07:00
remixz
65c258a7b7
Add harmony transform support in browser (Fixes GH-1420)
...
I implemented this by checking for `type="text/jsx;harmony"`, since this
has a bit of a cleaner implementation rather than parsing a JSON object
out of a data attribute. If in the future there are other options to
pass, it would make sense to move to a system like that.
Along with adding support, there is also a new example added that's
the basic-jsx example with Harmony syntax.
2014-05-13 22:07:02 -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
volkanunsal
035a648a2d
Update Dispatcher.js
2014-05-05 12:20:25 -04:00
volkanunsal
c81c07c816
Update Dispatcher.js
2014-05-04 19:15:44 -04:00
volkanunsal
a7823a3624
Update Dispatcher.js
2014-05-04 19:08:46 -04:00
volkanunsal
31477dbf94
Update Dispatcher.js
...
I think Array.filter expects a boolean return value, am I correct?
2014-05-04 19:04:51 -04:00
Ben Alpert
f1096c6bb3
Fix ASCII-art arrow alignment
2014-05-03 23:45:12 -03:00
Pete Hunt
b02a5dc0f8
Merge pull request #1479 from fisherwebdev/master
...
Clean up Flux documentation and add more info about dependencies btwn stores
2014-05-02 23:56:06 +02:00
fisherwebdev
b0f82bfe4c
Clean up Flux documentation and add more info about managing dependencies between stores
2014-05-02 13:22:15 -07:00
Kyle Mathews
72b830ec4c
Typo
2014-05-02 11:10:13 -07:00
petehunt
fa154e6e21
Add some backticks to flux docs
2014-05-02 16:44:43 +02:00
fisherwebdev
b97cf7a180
Additional Flux documentation
2014-05-02 07:17:49 -07:00
Andrey Popp
93fed1a459
Add basic CommonJS example with browserify
2014-04-29 21:57:08 +04:00