From 65b866192ea3d3a81c56729058e8b141cfd794d7 Mon Sep 17 00:00:00 2001
From: Peter Jaszkowiak
Date: Mon, 16 Jan 2017 16:48:56 -0700
Subject: [PATCH] Fix failing tests
---
src/meta/languages.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/meta/languages.js b/src/meta/languages.js
index 91e14767e2..9b3a576bc6 100644
--- a/src/meta/languages.js
+++ b/src/meta/languages.js
@@ -46,10 +46,10 @@ function getTranslationTree(callback) {
return;
}
- if (!languages.includes(language)) {
+ if (languages.indexOf(language) === -1) {
languages.push(language);
}
- if (!namespaces.includes(namespace)) {
+ if (namespaces.indexOf(namespace) === -1) {
namespaces.push(namespace);
}
});