Skip to content

Commit c918462

Browse files
author
Mikel Tuesta
committed
Fixed bug on ScrollImageParallaxListener. doFrame method was renamed to render on base class but implementation was not updated on ScrollImageParallaxListener.
1 parent d164d40 commit c918462

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "foes-scrollproxy",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"license": "MIT",
55
"description": "",
66
"keywords": [

src/Core/ScrollProxyListener.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* function SampleParallaxListener () {
1212
* ScrollProxyListener.call(this);
13-
* // Implement base class methods (doFrame, onScroll, onResize)
13+
* // Implement base class methods (render, onScroll, onResize, setState, onStateChanged)
1414
* }
1515
* SampleParallaxListener.prototype = Object.create( ScrollProxyListener.prototype );
1616
*

src/Plugins/ScrollImageParallaxListener.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
if (this.currentBreakpoint !== breakpoint) {
5555
this.currentBreakpoint = breakpoint;
5656
this.init();
57-
this.doFrame();
57+
this.render();
5858
}
5959
};
6060

0 commit comments

Comments
 (0)