From aa58a8298e90530207bfdd096fdf2782fed3210c Mon Sep 17 00:00:00 2001 From: Hyunje Alex Jun Date: Sat, 24 Jan 2015 15:05:56 +0000 Subject: [PATCH] Remove variable cleaning. --- src/js/plugin/ps.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/js/plugin/ps.js b/src/js/plugin/ps.js index 89d6326..bd640ed 100644 --- a/src/js/plugin/ps.js +++ b/src/js/plugin/ps.js @@ -766,26 +766,6 @@ module.exports = function (element, settingOrCommand) { d.remove(scrollbarXRail); d.remove(scrollbarYRail); - // clean all variables - scrollbarXActive = - scrollbarYActive = - containerWidth = - containerHeight = - contentWidth = - contentHeight = - scrollbarXWidth = - scrollbarXLeft = - scrollbarXBottom = - isScrollbarXUsingBottom = - scrollbarXTop = - scrollbarYHeight = - scrollbarYTop = - scrollbarYRight = - isScrollbarYUsingRight = - scrollbarYLeft = - isRtl = - eventClass = null; - isPluginAlive = false; }