MDL-52486 JavaScript: Make sure lang codes use underscores.
authorCameron Ball <cameron@moodle.com>
Mon, 11 Jan 2016 07:23:29 +0000 (15:23 +0800)
committerCameron Ball <cameron@moodle.com>
Mon, 11 Jan 2016 07:23:29 +0000 (15:23 +0800)
commit035247e0f24a7ce808311c8dd579fbb8339ab414
treef0ce1a195b67fc4ff9190a0ec6a5f72489ecc17f
parente65dfd9f288725eaf07b8273db79a62aa8e12f3c
MDL-52486 JavaScript: Make sure lang codes use underscores.

In some cases, underscores in lang codes get replaced with dashes
which causes some JavaScript to be unhappy. This patch simply reverse
the underscore to dash replacement on the JS side.
lib/amd/build/str.min.js
lib/amd/src/str.js