diff --git a/scripts/demo.js b/scripts/demo.js index 5c13ff6465..9ca3422683 100644 --- a/scripts/demo.js +++ b/scripts/demo.js @@ -60,7 +60,7 @@ InstantClickChangeFns.push(function () { }); var options = versions.map(function(version) { var link = versionsHistory[version]; - return ; + return ; }); function onChange(e) { if (versionsHistory[e.target.value]) { diff --git a/spec/colors.md b/spec/colors.md index 4f3b0f74d3..019a1112e3 100644 --- a/spec/colors.md +++ b/spec/colors.md @@ -77,8 +77,8 @@ let Palette = React.createClass({ let color = this.props.color; return
- {color.colors.map(function(color){ - return (
); + {color.colors.map(function(color) { + return (
); })}
@@ -183,8 +183,8 @@ let ExtendPalettes = React.createClass({ } ]; return
- {colors.map((color) => { - return ; + {colors.map((color, i) => { + return ; })}
; }