From c285521caa49327ded53db11b7a25f98427ed31c Mon Sep 17 00:00:00 2001 From: Hyunje Alex Jun Date: Sat, 3 Oct 2015 20:45:38 +0900 Subject: [PATCH] Lint update-scroll.js With the new .eslintrc --- src/js/plugin/update-scroll.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/plugin/update-scroll.js b/src/js/plugin/update-scroll.js index 0d5b0c9..ff41ae4 100644 --- a/src/js/plugin/update-scroll.js +++ b/src/js/plugin/update-scroll.js @@ -30,7 +30,7 @@ yStartEvent.initEvent('ps-y-reach-start', true, true); yEndEvent.initEvent('ps-y-reach-end', true, true); module.exports = function (element, axis, value) { - if (typeof element === 'undefined' ) { + if (typeof element === 'undefined') { throw 'You must provide an element to the update-scroll function'; } @@ -39,7 +39,7 @@ module.exports = function (element, axis, value) { } 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) {