Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Aug 11, 2015
1 parent 884e709 commit 4033770
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"react-progress-button.js",
"react-progress-button.css"
],
"version": "0.1.9",
"version": "0.1.10",
"homepage": "https://github.com/mathieudutour/react-progress-button",
"description": "Simple react.js component for a inline progress indicator",
"keywords": [
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-progress-button",
"version": "0.1.9",
"version": "0.1.10",
"description": "Simple react.js component for a inline progress indicator",
"main": "react-progress-button.js",
"dependencies": {
Expand Down
10 changes: 0 additions & 10 deletions react-progress-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@
);
},

getStateClass: function() {
var className = "workout-progress";
if (this.props.insightIndex >= this.props.insights.items.length) {
className += " complete";
} else {
className += " not-complete";
}
return className;
},

loading: function() {
this.setState({currentState: 'loading'});
},
Expand Down

0 comments on commit 4033770

Please sign in to comment.