Skip to content

Commit

Permalink
Remove key warning. Update example. Add npmignore. Release
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglou committed Jul 6, 2014
1 parent f615ea0 commit 55b3774
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
example
bower.json
2 changes: 1 addition & 1 deletion example/out.js
Original file line number Diff line number Diff line change
Expand Up @@ -17435,7 +17435,7 @@ process.chdir = function (dir) {
'rotate(' + (i * 30) + 'deg) translate(146%)';

bars.push(
React.DOM.div( {style:barStyle, className:"react-spinner_bar"} )
React.DOM.div( {style:barStyle, className:"react-spinner_bar", key:i} )
);
}

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'rotate(' + (i * 30) + 'deg) translate(146%)';

bars.push(
React.DOM.div( {style:barStyle, className:"react-spinner_bar"} )
React.DOM.div( {style:barStyle, className:"react-spinner_bar", key:i} )
);
}

Expand Down
2 changes: 1 addition & 1 deletion index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'rotate(' + (i * 30) + 'deg) translate(146%)';

bars.push(
<div style={barStyle} className="react-spinner_bar" />
<div style={barStyle} className="react-spinner_bar" key={i} />
);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-spinner",
"version": "0.1.5",
"version": "0.1.6",
"description": "Zero configuration loading spinner.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 55b3774

Please sign in to comment.