Avoid passing integers to mw.RegExp.escape
authorSanthosh Thottingal <santhosh.thottingal@gmail.com>
Tue, 31 May 2016 09:48:14 +0000 (15:18 +0530)
committerSanthosh Thottingal <santhosh.thottingal@gmail.com>
Tue, 31 May 2016 09:48:14 +0000 (15:18 +0530)
commit53b92dbca18dbb570cde8cea31c42e418e57140f
treedb1e793fd4b929ca002f76b58fe85f3b411ce844
parentd27ae619c54abb0f0080300a1d172d0b685fd18f
Avoid passing integers to mw.RegExp.escape

Passing the index value of the loop to mw.RegExp.escape
causes javascript error at str.replace. mw.RegExp.escape
expects string parameters. It is not required to escape
the loop index here.

Follow-up to c81ab8ae5f89056d23a4b0d36066120b9701d07e.

Bug: T135743
Change-Id: I818bc2c671193e79848ae183f509473200c6abf5
resources/src/moment-locale-overrides.js