Lint update-scroll.js

With the new .eslintrc
This commit is contained in:
Hyunje Alex Jun 2015-10-03 20:45:38 +09:00
parent 3d2d50c308
commit c285521caa

View File

@ -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) {