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/helpers/contenttype.js | 2 +- web-ui/app/js/helpers/iterator.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js/helpers') diff --git a/web-ui/app/js/helpers/contenttype.js b/web-ui/app/js/helpers/contenttype.js index 764b6032..92b456e9 100644 --- a/web-ui/app/js/helpers/contenttype.js +++ b/web-ui/app/js/helpers/contenttype.js @@ -14,8 +14,8 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -'use strict'; define([], function () { + 'use strict'; var exports = {}; // Licence: PUBLIC DOMAIN diff --git a/web-ui/app/js/helpers/iterator.js b/web-ui/app/js/helpers/iterator.js index b5b44379..236c7a40 100644 --- a/web-ui/app/js/helpers/iterator.js +++ b/web-ui/app/js/helpers/iterator.js @@ -14,8 +14,8 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -'use strict'; define(function () { + 'use strict'; return Iterator; -- cgit v1.2.3