From b4b4ca2543a230a2043f3fdd20b16e1a14e73459 Mon Sep 17 00:00:00 2001 From: Daniel Rhoades Date: Wed, 28 Sep 2016 14:02:46 +0100 Subject: [PATCH] Avoids a JavaScript warning/error on some platforms Method definition shorthands may not be supported on all platforms --- chapters/03.02.table-th-td.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/03.02.table-th-td.html b/chapters/03.02.table-th-td.html index 569c297..a655cd6 100755 --- a/chapters/03.02.table-th-td.html +++ b/chapters/03.02.table-th-td.html @@ -26,7 +26,7 @@ ), }, - getInitialState() { + getInitialState: function() { return {data: this.props.initialData}; },