* Remove manual tracking of when a hash is first seen. ResourceLoader is no longer time-based, rather it is content based. Except where a timestamp is actually wanted as key, a hash is all we need. The default implementation of simply calling getScript() and hashing its output suffices, and isn't a performance problem in this case. * Also simplify getScript() by passing an object to 'mw.config.set'. Instead of multiple calls for each key/value. This is a no-op now because there is only one key. * Fix inaccurate class comment that was copied from an unrelated module in MediaWiki core. Change-Id: I9bb82cadd9caa7e584e20dd49ce30b64218326c4
1.6 KiB
1.6 KiB