Get back 100% in sync with fb codebase

This commit is contained in:
facebook-github-bot-6
2015-09-16 10:30:53 -07:00
parent 0044b3c2c3
commit 0d09f22dbf
18 changed files with 39 additions and 277 deletions

View File

@@ -44,7 +44,7 @@
* Load from pre-bundled file on disk. To re-generate the static bundle, `cd`
* to your Xcode project folder in the terminal, and run
*
* $ curl 'http://localhost:8081/Examples/Movies/MoviesApp.ios.includeRequire.runModule.bundle' -o main.jsbundle
* $ curl 'http://localhost:8081/Examples/Movies/MoviesApp.includeRequire.runModule.bundle' -o main.jsbundle
*
* then add the `main.jsbundle` file to your project and uncomment this line:
*/

View File

@@ -0,0 +1 @@
// Temp dummy Java file, shouldn't be exported to github, will be deleted.

View File

@@ -30,7 +30,6 @@ var ScrollViewSimpleExample = React.createClass({
title: '<ScrollView>',
description: 'Component that enables scrolling through child components.'
},
makeItems: function(nItems: number, styles): Array<any> {
var items = [];
for (var i = 0; i < nItems; i++) {

View File

@@ -1,15 +1,5 @@
/**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL
* FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* Copyright 2004-present Facebook. All Rights Reserved.
*/
'use strict';
@@ -23,7 +13,7 @@ var UIExplorerPage = require('UIExplorerPage');
var SwitchAndroidExample = React.createClass({
statics: {
title: '<SwitchAndroid>',
description: 'Standard Android two-state toggle component'
description: 'Standard Android two-state toggle component.'
},
getInitialState : function() {

View File

@@ -13,6 +13,7 @@
*
* @flow
*/
'use strict';
var React = require('react-native');
@@ -30,7 +31,7 @@ var ToastExample = React.createClass({
statics: {
title: 'Toast Example',
description: 'Toast Example',
description: 'Example that demostrates the use of an Android Toast to provide feedback.',
},
getInitialState: function() {

View File

@@ -262,7 +262,8 @@ class FormUploader extends React.Component {
exports.framework = 'React';
exports.title = 'XMLHttpRequest';
exports.description = 'XMLHttpRequest';
exports.description = 'Example that demostrates upload and download requests ' +
'using XMLHttpRequest.';
exports.examples = [{
title: 'File Download',
render() {