Index: src/js/i18n.js |
diff --git a/src/js/i18n.js b/src/js/i18n.js |
index cb3476e3f698d7a8aefd63fbb0fbda75e81deac8..f8af2d57f95924759dd128e099637137f45907c4 100644 |
--- a/src/js/i18n.js |
+++ b/src/js/i18n.js |
@@ -76,9 +76,10 @@ function AddBoundMethod(obj, methodName, implementation, length, type) { |
if (IS_UNDEFINED(this[internalName])) { |
var boundMethod; |
if (IS_UNDEFINED(length) || length === 2) { |
- boundMethod = ANONYMOUS_FUNCTION((x, y) => implementation(this, x, y)); |
+ boundMethod = |
+ ANONYMOUS_FUNCTION((fst, snd) => implementation(this, fst, snd)); |
} else if (length === 1) { |
- boundMethod = ANONYMOUS_FUNCTION(x => implementation(this, x)); |
+ boundMethod = ANONYMOUS_FUNCTION(fst => implementation(this, fst)); |
} else { |
boundMethod = ANONYMOUS_FUNCTION((...args) => { |
// DateTimeFormat.format needs to be 0 arg method, but can still |