diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..685bc10 --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +example +bower.json diff --git a/example/out.js b/example/out.js index 845292e..5458028 100644 --- a/example/out.js +++ b/example/out.js @@ -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} ) ); } diff --git a/index.js b/index.js index e09cc8e..3164614 100644 --- a/index.js +++ b/index.js @@ -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} ) ); } diff --git a/index.jsx b/index.jsx index 176ab53..87848d6 100644 --- a/index.jsx +++ b/index.jsx @@ -15,7 +15,7 @@ 'rotate(' + (i * 30) + 'deg) translate(146%)'; bars.push( -
+ ); } diff --git a/package.json b/package.json index 3594a4d..c241ce2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-spinner", - "version": "0.1.5", + "version": "0.1.6", "description": "Zero configuration loading spinner.", "main": "index.js", "scripts": {