Commit Graph

104 Commits

Author SHA1 Message Date
Tony Spiro 03e0ebf532 Update index.html
'current' makes more sense than 'start' as the value increments passed it's start value.
2015-03-27 15:17:07 -05:00
Maxim Abramchuk 9b70e82246 Add missing semicolon 2015-03-21 23:11:45 +03:00
Martin Mihaylov d7bf64396a Fix the closing html paragraph tag. 2015-03-19 20:56:49 +01:00
Paul O’Shannessy ce66a796ee Update the examples for 0.13
The only substantial difference here is that I made the harmony example use ES6
classes. The server rendering example was pretty wacky and hard to run but
I did confirm that it works.
2015-03-10 11:56:25 -07:00
chico 1876bc2432 remove ballmer example 2015-02-20 04:13:07 +03:00
chico 466f4faf4e lint from root 2015-02-20 04:06:15 +03:00
Paul O’Shannessy 629d400774 Merge pull request #3165 from oiva/jquery-mobile-example
Change how components are rendered in jQuery Mobile example. Fixes #2880
2015-02-19 10:48:26 -08:00
Paul O’Shannessy 1caeda30ea Replace Ballmer Peak example with Quadratic Formula 2015-02-18 13:59:26 -08:00
Oiva Eskola 4c32fb487e Wrap jQuery Mobile example's components with React.createFactory to fix on v0.13.0. Fixes #2880 2015-02-18 00:13:13 +02:00
Paul O’Shannessy c63de4b79b Merge pull request #2586 from RileyTomasek/master
Fix typo in comment of jquery-bootstrap example
2014-12-18 14:15:30 -08:00
Riley Tomasek 84a93fbacf Improve comment in example code
This should make it more clear that even though `$` is used in 4 methods, only 2 of them are crucial for integrating the modal into the components lifecycle methods and the other 2 are just helpers.
2014-12-18 10:05:25 -05:00
Paul O’Shannessy e2dcc4a863 Update commonjs example for 0.12 2014-11-26 13:08:08 -08:00
Riley Tomasek 08b6b28902 Fix typo in comment of jquery-bootstrap example 2014-11-21 12:05:39 -05:00
Ben Alpert c96ea9abf2 Remove transferPropsTo
I'd like to outlaw prop mutation altogether, and now seems like a fine time to remove transferPropsTo.

Test Plan: jest
2014-11-16 17:41:07 -08:00
Paul O’Shannessy 3e60195bd4 Merge pull request #2408 from Peeja/patch-1
TodoMVC live demos have moved.
2014-11-05 13:49:23 -08:00
Peter Jaros 411a6a1f0c TodoMVC live demos have moved. 2014-10-24 09:57:27 -04:00
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