MDL-57009 js: Skip ajax request for same string
commitdcdf7c6155a53236ac9ff2831b1cdbbe68261569
authorDamyon Wiese <damyon@moodle.com>
Tue, 3 Jan 2017 08:19:22 +0000 (3 16:19 +0800)
committerDamyon Wiese <damyon@moodle.com>
Thu, 2 Feb 2017 07:54:19 +0000 (2 15:54 +0800)
tree460ab405a6d01432827cf23340708944ddeb52a4
parentf99313477d7c0e57da72777ff1f0b03c4a998f7b
MDL-57009 js: Skip ajax request for same string

This is done by caching the first promise generated to fetch a string.
lib/amd/build/str.min.js
lib/amd/src/str.js