MDL-52486 JavaScript: Make sure lang codes use underscores.
commit353d1888aad65f7f422af6a9fcaa5b13b5f7e101
authorCameron Ball <cameron@moodle.com>
Mon, 11 Jan 2016 09:02:45 +0000 (11 17:02 +0800)
committerCameron Ball <cameron@moodle.com>
Mon, 11 Jan 2016 09:02:45 +0000 (11 17:02 +0800)
tree7b4b077ffffefd0c1362dce2b38b1031c0b32b8a
parent2a416b3466df2935224e19ee4e34bf4b38e21863
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