From 550db2fda09b6a152dc104d89cd054d09dedf927 Mon Sep 17 00:00:00 2001 From: Devin Abbott Date: Mon, 27 Jun 2016 10:50:27 -0700 Subject: [PATCH] Use npmcdn in docs instead of rawgit for web player Summary: Switch web player cdn to npmcdn per discussion with lacker. This will make the url agnostic to who owns the git repo. Closes https://github.com/facebook/react-native/pull/8426 Differential Revision: D3488755 Pulled By: lacker fbshipit-source-id: b54dd4428a48c8a5a15b0b38ee0564d119916f9b --- website/core/WebPlayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/core/WebPlayer.js b/website/core/WebPlayer.js index a79f27bac..76b51ad4f 100644 --- a/website/core/WebPlayer.js +++ b/website/core/WebPlayer.js @@ -57,7 +57,7 @@ var WebPlayer = React.createClass({ style={{marginTop: 4}} width='880' height={this.parseParams(this.props.params).platform === 'android' ? '425' : '420'} - data-src={`//cdn.rawgit.com/dabbott/react-native-web-player/v0.1.3/index.html${hash}`} + data-src={`//npmcdn.com/react-native-web-player@1.0.0/index.html${hash}`} frameBorder='0' />