From dde5e02c019ba75e7fd25a06ab449d4524f2f948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BA=A6=E9=A9=B0?= Date: Mon, 25 Jan 2016 01:30:37 -0800 Subject: [PATCH] fix the syntax error in doc tutorial Summary: maybe it is a bug when migrating from es5 to es6 Closes https://github.com/facebook/react-native/pull/5526 Reviewed By: svcscm Differential Revision: D2860047 Pulled By: androidtrunkagent fb-gh-sync-id: d8be261eea08ec659999fe8c714f33aca6fe3a60 --- docs/Tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Tutorial.md b/docs/Tutorial.md index 6a809b77c..b5dc1d16c 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -463,7 +463,7 @@ class AwesomeProject extends Component { ); } -}); +} var styles = StyleSheet.create({ container: {