From 111205c8cd74d553201b42db3041d870ae833165 Mon Sep 17 00:00:00 2001 From: Giovane Date: Wed, 30 Dec 2015 16:03:27 -0200 Subject: Updates jshint to latest version #565 - Change 'use strict' mode to function-level - Update needed files --- web-ui/app/js/style_guide/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web-ui/app/js/style_guide/main.js') diff --git a/web-ui/app/js/style_guide/main.js b/web-ui/app/js/style_guide/main.js index 170d1187..32c213cf 100644 --- a/web-ui/app/js/style_guide/main.js +++ b/web-ui/app/js/style_guide/main.js @@ -14,9 +14,8 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -'use strict'; - $(document).ready(function(){ + 'use strict'; $('a[href*=#]').click(function() { if (location.pathname.replace(/^\//,'') === this.pathname.replace(/^\//,'') && location.hostname === this.hostname) { -- cgit v1.2.3