All requests were using version=
da39a3ee5e6b, where
da39a3ee5e6b
is the sha1() of the empty string.
Follows-up
f37cee996e which incorrectly assummed the local
'modules' variable to hold a list of objects, when in fact it
holds a list of strings.
Change-Id: I717b8657300263606832ff1ec67a34a7163de842
- * @param {Object[]} modules List of module registry objects
+ * @param {Array} modules List of module names
* @return {string} Hash of concatenated version hashes.
*/
function getCombinedVersion( modules ) {
var hashes = $.map( modules, function ( module ) {
* @return {string} Hash of concatenated version hashes.
*/
function getCombinedVersion( modules ) {
var hashes = $.map( modules, function ( module ) {
+ return registry[module].version;
} );
// Trim for consistency with server-side ResourceLoader::makeHash. It also helps
// save precious space in the limited query string. Otherwise modules are more
} );
// Trim for consistency with server-side ResourceLoader::makeHash. It also helps
// save precious space in the limited query string. Otherwise modules are more