From 2ab47c923fe78c4669d0aae1717aaa897b2547b6 Mon Sep 17 00:00:00 2001 From: erwinsmit Date: Mon, 27 Jul 2015 13:50:45 +0100 Subject: [PATCH] Injecting jQuery into the closure By doing this, the file will work nicely with other libraries (e.g. Prototype). --- touch-input-nav.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/touch-input-nav.js b/touch-input-nav.js index 12bf7f8..38096ab 100644 --- a/touch-input-nav.js +++ b/touch-input-nav.js @@ -6,7 +6,7 @@ * Licensed under the MIT license. */ /* jshint -W015 */ -;(function () { +;(function ($) { 'use strict'; // Negates the user agent :disabled input field styling on a per os/browser basis @@ -108,4 +108,4 @@ window.touchInputNav = touchInputNav; } } -})(); \ No newline at end of file +})(window.jQuery);