Make eslint happy.
This commit is contained in:
parent
d61df21d69
commit
4657d22eb0
|
@ -50,11 +50,7 @@ export default class LockOn {
|
||||||
|
|
||||||
$(window).scrollTop(previousTop);
|
$(window).scrollTop(previousTop);
|
||||||
|
|
||||||
let i = 0;
|
|
||||||
|
|
||||||
const interval = setInterval(() => {
|
const interval = setInterval(() => {
|
||||||
i = i + 1;
|
|
||||||
|
|
||||||
let top = this.elementTop();
|
let top = this.elementTop();
|
||||||
const scrollTop = $(window).scrollTop();
|
const scrollTop = $(window).scrollTop();
|
||||||
|
|
||||||
|
|
|
@ -358,7 +358,7 @@ export function withPluginApi(version, apiCodeCallback, opts) {
|
||||||
|
|
||||||
const api = getPluginApi(version);
|
const api = getPluginApi(version);
|
||||||
if (api) {
|
if (api) {
|
||||||
return apiCodeCallback(api);
|
return apiCodeCallback(api, opts);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue