Skip to content

Commit

Permalink
Fixed bug on ScrollImageParallaxListener. doFrame method was renamed …
Browse files Browse the repository at this point in the history
…to render on base class but implementation was not updated on ScrollImageParallaxListener.
  • Loading branch information
Mikel Tuesta committed Oct 20, 2016
1 parent d164d40 commit c918462
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foes-scrollproxy",
"version": "0.4.1",
"version": "0.4.2",
"license": "MIT",
"description": "",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/Core/ScrollProxyListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* function SampleParallaxListener () {
* ScrollProxyListener.call(this);
* // Implement base class methods (doFrame, onScroll, onResize)
* // Implement base class methods (render, onScroll, onResize, setState, onStateChanged)
* }
* SampleParallaxListener.prototype = Object.create( ScrollProxyListener.prototype );
*
Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/ScrollImageParallaxListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
if (this.currentBreakpoint !== breakpoint) {
this.currentBreakpoint = breakpoint;
this.init();
this.doFrame();
this.render();
}
};

Expand Down

0 comments on commit c918462

Please sign in to comment.