From 3899eb8d0b9c23cbdfcefb07c631c59ab4dda2e4 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 4 Apr 2018 16:30:52 -0700 Subject: [PATCH] Add 'use strict' to i18n.js --- js/i18n.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/i18n.js b/js/i18n.js index 4ec0c183c..de7330497 100644 --- a/js/i18n.js +++ b/js/i18n.js @@ -1,5 +1,7 @@ /* eslint-env node */ +'use strict'; + exports.setup = (locale, messages) => { if (!locale) { throw new Error('i18n: locale parameter is required');