From d27b293495660b3b107e8210d9aa9ceed399099f Mon Sep 17 00:00:00 2001 From: Bogdan Chadkin Date: Tue, 27 Jan 2015 21:20:46 +0300 Subject: [PATCH] Scope optimization --- src/ripple.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ripple.js b/src/ripple.js index 06fd1ff..0f4e3ac 100644 --- a/src/ripple.js +++ b/src/ripple.js @@ -1,4 +1,4 @@ -;(function($){ +;(function($, document, Math){ $.ripple = function(selector, options) { var self = this; @@ -132,4 +132,4 @@ $(document).on(self.defaults.on, self.selector, Trigger); }; -})(jQuery); +})(jQuery, document, Math);