Skip to content

Commit

Permalink
Remove unnecessary variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jkimbo committed Nov 30, 2014
1 parent 9e9a8d2 commit 74b3f81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/lazy-render.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var LazyRender = React.createClass({displayName: 'LazyRender',
};
},

onScroll: function(event) {
onScroll: function() {
var container = this.refs.container.getDOMNode();
var scrollTop = container.scrollTop;

Expand Down
2 changes: 1 addition & 1 deletion src/lazy-render.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var LazyRender = React.createClass({
};
},

onScroll: function(event) {
onScroll: function() {
var container = this.refs.container.getDOMNode();
var scrollTop = container.scrollTop;

Expand Down

0 comments on commit 74b3f81

Please sign in to comment.