Website: initial page for videos

This commit is contained in:
Christopher Chedeau 2015-03-23 09:47:28 -07:00
Родитель ca47be3d38
Коммит a738b49ae2
3 изменённых файлов: 14 добавлений и 2 удалений

Просмотреть файл

@ -4,7 +4,7 @@ title: Getting Started
layout: docs
category: Quick Start
permalink: docs/getting-started.html
next: pixels
next: videos
---
Our first React Native implementation is `ReactKit`, targeting iOS. We are also

12
docs/Videos.md Normal file
Просмотреть файл

@ -0,0 +1,12 @@
---
id: videos
title: Videos
layout: docs
category: Community Resources
permalink: docs/videos.html
next: pixels
---
<iframe width="650" height="315" src="//www.youtube.com/embed/KVZ-P-ZI6W4" frameborder="0" allowfullscreen></iframe>
<iframe width="650" height="315" src="//www.youtube.com/embed/7rDsRXj9-cU" frameborder="0" allowfullscreen></iframe>

Просмотреть файл

@ -900,7 +900,7 @@ Parser.prototype.tok = function() {
}
case 'html': {
return !this.token.pre && !this.options.pedantic
? this.inline.output(this.token.text)
? React.DOM.span({dangerouslySetInnerHTML: {__html: this.token.text}})
: this.token.text;
}
case 'paragraph': {