Merge pull request #7262 from yurydelendik/issue7231

Fixes weird loop in the bidi.js.
This commit is contained in:
Yury Delendik 2016-04-27 17:18:57 -05:00
commit bd49973ee5

View File

@ -252,7 +252,7 @@
types[j] = 'EN'; types[j] = 'EN';
} }
// do after // do after
for (j = i + 1; j < strLength; --j) { for (j = i + 1; j < strLength; ++j) {
if (types[j] !== 'ET') { if (types[j] !== 'ET') {
break; break;
} }