i18n. helper.js

I’m looking for i18n module and found this strange code:

/ui/root/js/helper.js

40. var maxRecursion = 4;

45. replacementCounter++;
46. if (replacementCounter > replacementCounter) {
47.   break;
48. } // safety net for too much recursion

hope it will be helpful.

3 Likes

Good catch! I will put it down for fixing.
Thank you!
-Yang

4 Likes

@yshan, has this been resolved?

Yeah it’s checked in on Alpha 13
-Yang