i18n: Remove now-unused ensure_i18n function.

This commit is contained in:
Tim Abbott
2018-05-30 09:13:48 -07:00
parent 269b5202d9
commit d9347dea3e
2 changed files with 0 additions and 6 deletions

View File

@@ -18,6 +18,4 @@ i18n.t = function (str, context) {
return 'translated: ' + str;
};
i18n.ensure_i18n = function (f) { f(); };
module.exports = i18n;

View File

@@ -20,10 +20,6 @@ i18next
returnEmptyString: false, // Empty string is not a valid translation.
});
i18next.ensure_i18n = function (callback) {
callback();
};
// garbage collect all old-style i18n translation maps in localStorage.
$(function () {
if (!localstorage.supported()) {