From f18399c33e783a981cfba8dacdf45f2bdb7182dd Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Wed, 27 Apr 2016 16:39:54 -0400 Subject: [PATCH 1/2] Build: Add code for strict mode --- src/intro.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/intro.js b/src/intro.js index c3e8b3ce..ca468542 100644 --- a/src/intro.js +++ b/src/intro.js @@ -1,3 +1,2 @@ (function( jQuery, window, undefined ) { -// See http://bugs.jquery.com/ticket/13335 -// "use strict"; +"use strict"; From 6679831425380ba2a9cfecdcaec4ff075d773464 Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Thu, 28 Apr 2016 21:44:42 -0400 Subject: [PATCH 2/2] squash! Remove `undefined` in wrapper function --- src/intro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intro.js b/src/intro.js index ca468542..da0f8831 100644 --- a/src/intro.js +++ b/src/intro.js @@ -1,2 +1,2 @@ -(function( jQuery, window, undefined ) { +(function( jQuery, window ) { "use strict";