Author: a.d.bergi
Description:
The input validating of mw.loader.load (line 995) makes no sense.
996 // Validate input
997 if ( typeof modules !== 'object' && typeof modules !== 'string' ) {
998 throw new Error( 'dependencies must be a string or an array, not a ' +
999 typeof dependencies )
1000 }
I'd guess it should be "modules" instead of "dependencies".
Version: unspecified
Severity: minor