From 9c147492576a1f9c096d7c363d94fa0573f56e1a Mon Sep 17 00:00:00 2001 From: Ryan Lewis Date: Mon, 8 May 2017 00:29:52 -0700 Subject: [PATCH] Fixing threejs links in documentation Summary: ## Motivation (required) Doc links to threejs.org were broken ## Test Plan (required) Review documentation and follow links Closes https://github.com/facebook/react-vr/pull/181 Reviewed By: andrewimm Differential Revision: D5018421 Pulled By: andrewimm fbshipit-source-id: aa043f1 --- Libraries/Lights/DirectionalLight.js | 2 +- Libraries/Lights/PointLight.js | 2 +- Libraries/Lights/SpotLight.js | 2 +- ReactVR/js/Views/AmbientLight.js | 2 +- ReactVR/js/Views/DirectionalLight.js | 1 + ReactVR/js/Views/PointLight.js | 2 +- ReactVR/js/Views/SpotLight.js | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Libraries/Lights/DirectionalLight.js b/Libraries/Lights/DirectionalLight.js index d62ac129c..d97bfeae0 100644 --- a/Libraries/Lights/DirectionalLight.js +++ b/Libraries/Lights/DirectionalLight.js @@ -30,7 +30,7 @@ const requireNativeComponent = require('requireNativeComponent'); * * Representation of * - * https://threejs.org/docs/index.html#Reference/Lights/DirectionalLight + * https://threejs.org/docs/index.html#api/lights/DirectionalLight */ const DirectionalLight = React.createClass({ mixins: [NativeMethodsMixin], diff --git a/Libraries/Lights/PointLight.js b/Libraries/Lights/PointLight.js index 671c88172..120e9edab 100644 --- a/Libraries/Lights/PointLight.js +++ b/Libraries/Lights/PointLight.js @@ -24,7 +24,7 @@ const requireNativeComponent = require('requireNativeComponent'); * Light originates from a single point, and spreads outward in all directions. * * Representation of - * https://threejs.org/docs/index.html#Reference/Lights/PointLight + * https://threejs.org/docs/index.html#api/lights/PointLight */ const PointLight = React.createClass({ mixins: [NativeMethodsMixin], diff --git a/Libraries/Lights/SpotLight.js b/Libraries/Lights/SpotLight.js index 21b08f9be..22a2d5b04 100644 --- a/Libraries/Lights/SpotLight.js +++ b/Libraries/Lights/SpotLight.js @@ -24,7 +24,7 @@ const requireNativeComponent = require('requireNativeComponent'); * Light originates from a single point, and spreads outward in a cone. * * Representation of - * https://threejs.org/docs/index.html#Reference/Lights/SpotLight + * https://threejs.org/docs/index.html#api/lights/SpotLight */ const SpotLight = React.createClass({ mixins: [NativeMethodsMixin], diff --git a/ReactVR/js/Views/AmbientLight.js b/ReactVR/js/Views/AmbientLight.js index 3bc5d100a..b8f158f6d 100755 --- a/ReactVR/js/Views/AmbientLight.js +++ b/ReactVR/js/Views/AmbientLight.js @@ -9,7 +9,7 @@ /** * RCTAmbientLight: runtime implementation of the - * https://threejs.org/docs/index.html#Reference/Lights/AmbientLight + * https://threejs.org/docs/index.html#api/lights/AmbientLight * @class RCTAmbientLight * @extends RCTBaseView * @flow diff --git a/ReactVR/js/Views/DirectionalLight.js b/ReactVR/js/Views/DirectionalLight.js index 35ea23544..797dd97bf 100755 --- a/ReactVR/js/Views/DirectionalLight.js +++ b/ReactVR/js/Views/DirectionalLight.js @@ -9,6 +9,7 @@ /** * RCTDirectionalLight: runtime implementation of the + * https://threejs.org/docs/index.html#api/lights/DirectionalLight * Directional light implemented with PointLight with no decay and no distance falloff * Workaround for directional lights not correctly functioning, will revisit * @class RCTAmbientLight diff --git a/ReactVR/js/Views/PointLight.js b/ReactVR/js/Views/PointLight.js index f6238cb70..5fc78df1a 100755 --- a/ReactVR/js/Views/PointLight.js +++ b/ReactVR/js/Views/PointLight.js @@ -9,7 +9,7 @@ /** * RCTPointLight: runtime implementation of the - * https://threejs.org/docs/index.html#Reference/Lights/PointLight + * https://threejs.org/docs/index.html#api/lights/PointLight * @class RCTAmbientLight * @extends RCTBaseView */ diff --git a/ReactVR/js/Views/SpotLight.js b/ReactVR/js/Views/SpotLight.js index 22c484b51..4b2bbb535 100755 --- a/ReactVR/js/Views/SpotLight.js +++ b/ReactVR/js/Views/SpotLight.js @@ -9,7 +9,7 @@ /** * RCTSpotLight: runtime implementation of the - * https://threejs.org/docs/index.html#Reference/Lights/SpotLight + * https://threejs.org/docs/index.html#api/lights/SpotLight * @class RCTSpotLight * @extends RCTBaseView */