Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2016-07-04 10:54:51 +08:00
parent d61df21d69
commit 4657d22eb0
No known key found for this signature in database
GPG key ID: 19C321C8952B0F72
2 changed files with 1 additions and 5 deletions

View file

@ -50,11 +50,7 @@ export default class LockOn {
$(window).scrollTop(previousTop);
let i = 0;
const interval = setInterval(() => {
i = i + 1;
let top = this.elementTop();
const scrollTop = $(window).scrollTop();

View file

@ -358,7 +358,7 @@ export function withPluginApi(version, apiCodeCallback, opts) {
const api = getPluginApi(version);
if (api) {
return apiCodeCallback(api);
return apiCodeCallback(api, opts);
}
}