From fc28d6457738490260d1ea15144f848daf21237c Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 12 Jun 2015 13:24:55 -0400 Subject: [PATCH] Couple unnecessary lines --- src/definitions/behaviors/visibility.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/definitions/behaviors/visibility.js b/src/definitions/behaviors/visibility.js index e989310e3..9d14bb2e2 100644 --- a/src/definitions/behaviors/visibility.js +++ b/src/definitions/behaviors/visibility.js @@ -59,6 +59,7 @@ $.fn.visibility = function(parameters) { || function(callback) { setTimeout(callback, 0); }, element = this, + observer, module ; @@ -123,9 +124,6 @@ $.fn.visibility = function(parameters) { }, observeChanges: function() { - var - context = $context[0] - ; if('MutationObserver' in window) { observer = new MutationObserver(function(mutations) { module.verbose('DOM tree modified, updating visibility calculations');