DEV: Let is not supported, use var instead

This commit is contained in:
romanrizzi 2019-11-12 14:58:16 -03:00
parent 836b3f4d82
commit c9bd463e9d
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ var define, requirejs;
}
function deprecatedModule(depricated, useInstead) {
let warning = "[DEPRECATION] `" + depricated + "` is deprecated.";
var warning = "[DEPRECATION] `" + depricated + "` is deprecated.";
if (useInstead) {
warning += " Please use `" + useInstead + "` instead.";
}
@ -252,7 +252,7 @@ var define, requirejs;
}
function transformForAliases(name) {
let alias = ALIASES[name];
var alias = ALIASES[name];
if (!alias) return name;
deprecatedModule(name, alias);