From 8174a0dc086268fb092f65f965fc769b08bd938a Mon Sep 17 00:00:00 2001 From: Jack Stevens Date: Fri, 3 Mar 2017 12:18:51 -0800 Subject: [PATCH] Remove semi-colons after class definition Summary: None of the preceding code examples have semi-colons after the class definition (because they're not necessary): - https://facebook.github.io/react-native/docs/tutorial.html - https://facebook.github.io/react-native/docs/props.html - https://facebook.github.io/react-native/docs/state.html - https://facebook.github.io/react-native/docs/style.html For consistency, I removed them :+1: Closes https://github.com/facebook/react-native/pull/12616 Differential Revision: D4651704 fbshipit-source-id: e59fa37c82d61728bc8ee28c7109717bd10635c2 --- docs/HeightAndWidth.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/HeightAndWidth.md b/docs/HeightAndWidth.md index 0b9901a38..32c4b6316 100644 --- a/docs/HeightAndWidth.md +++ b/docs/HeightAndWidth.md @@ -28,7 +28,7 @@ class FixedDimensionsBasics extends Component { ); } -}; +} AppRegistry.registerComponent('AwesomeProject', () => FixedDimensionsBasics); ``` @@ -58,7 +58,7 @@ class FlexDimensionsBasics extends Component { ); } -}; +} AppRegistry.registerComponent('AwesomeProject', () => FlexDimensionsBasics); ```