Lint update-scroll.js
With the new .eslintrc
This commit is contained in:
parent
3d2d50c308
commit
c285521caa
@ -39,7 +39,7 @@ module.exports = function (element, axis, value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (typeof value === 'undefined') {
|
if (typeof value === 'undefined') {
|
||||||
throw 'You must provide a value to the update-scroll function'
|
throw 'You must provide a value to the update-scroll function';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (axis === 'top' && value <= 0) {
|
if (axis === 'top' && value <= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user