react-native/website/core
Devin Abbott f4a8efa452 Add react-native-web-player to core components docs
Summary:
This PR adds the interactive [React Native Web Player](http://dabbott.github.io/react-native-web-player/) to the docs. The web player is an embeddable iframe which runs React Native code using components from [react-native-web](https://github.com/necolas/react-native-web). For now, it's primarily for educational purposes, since only the basic components are implemented.

Some details:
- The iframe is loaded from MaxCDN using rawgit, locked down to a git tag.
- Asset paths (i.e. images) are resolved relative to `//facebook.github.io/react-native/`
- When viewed on mobile, it falls back to the syntax-highlighted code blocks.

The WebPlayer can be inserted into markdown by using the fences:

```
```ReactNativeWebPlayer

import ...

AppRegistry.registerComponent ...

`` `
```

![screen shot 2016-06-22 at 12 46 50 pm](https://cloud.githubusercontent.com/assets/1198882/16281068/7056804e-3877-11e6-82f7-ece245690548.png)

I didn't actually add the WebPlayer to any docs pages in this PR. That we c
Closes https://github.com/facebook/react-native/pull/8328

Differential Revision: D3471527

Pulled By: lacker

fbshipit-source-id: 704da41cd77e08c7e2bc820557a74d36e88e8eb7
2016-06-22 14:13:22 -07:00
..
AlgoliaDocSearch.js Add tabindex attribute to searchbar 2016-06-22 12:28:33 -07:00
BlogPost.js Introduce blog 2016-03-24 14:11:30 -07:00
BlogSidebar.js Introduce blog 2016-03-24 14:11:30 -07:00
DocsSidebar.js Improve Docs navigation on handheld devices. 2016-05-20 02:50:08 -07:00
H2.js Fix issues running the website locally on windows with npm3 2016-01-02 03:56:32 -05:00
Header.js fix all anchor links in docs 2016-02-29 09:21:31 -08:00
HeaderLinks.js Improve Docs navigation on handheld devices. 2016-05-20 02:50:08 -07:00
HeaderWithGithub.js Remove default argument syntax on getVersionedGithubPath() 2016-05-07 14:10:33 -07:00
Marked.js Add react-native-web-player to core components docs 2016-06-22 14:13:22 -07:00
Prism.js Add copyright header on website files 2015-03-23 10:56:09 -07:00
Site.js Remove Releases tab from header 2016-03-09 19:36:26 -08:00
WebPlayer.js Add react-native-web-player to core components docs 2016-06-22 14:13:22 -07:00
center.js Add copyright header on website files 2015-03-23 10:56:09 -07:00
slugify.js Add copyright header on website files 2015-03-23 10:56:09 -07:00
unindent.js Add copyright header on website files 2015-03-23 10:56:09 -07:00