0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 07:42:39 +00:00

Removing unneeded code

This commit is contained in:
Scott Tolksdorf
2016-05-10 21:45:58 -04:00
parent c07c9911ec
commit c9bfd08bb3
10 changed files with 10 additions and 594 deletions

View File

@@ -21,20 +21,16 @@ var BrewRenderer = React.createClass({
totalPages : 0,
height : 0,
componentDidMount: function() {
this.setState({
height : this.refs.main.parentNode.clientHeight
});
},
handleScroll : function(e){
this.setState({
viewablePageNumber : Math.floor(e.target.scrollTop / PAGE_HEIGHT)
});
},
//Implement later
scrollToPage : function(pageNumber){
},