From 8ff0612305cf16ef1553a463fe94d6747a2b2079 Mon Sep 17 00:00:00 2001 From: Rasmus Iversen Date: Tue, 18 Oct 2016 11:08:04 +0200 Subject: [PATCH] Update verify.js Fixed the plugin so it works with jQuery.noConflict() without breaking. Fixed the wrapper function so it actually wraps: (func(a,b,c) {})('a', 'b', 'c'); instead of (func(a,b,c){}('a','b','c')); --- dist/verify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/verify.js b/dist/verify.js index 821a452..22085a9 100644 --- a/dist/verify.js +++ b/dist/verify.js @@ -3,7 +3,7 @@ * Copyright (c) 2013 Jaime Pillora - MIT */ -(function(window,document,undefined) { +(function(window,document,$,undefined) { (function($) { if(window.console === undefined) @@ -2028,4 +2028,4 @@ log("plugin added."); }); })(jQuery); -}(window,document)); \ No newline at end of file +})(window,document,jQuery);