resourceloader: Also clear store in debug mode to simplify mw.loader.store.init()
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 25 Jul 2019 16:37:46 +0000 (17:37 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 25 Jul 2019 16:37:46 +0000 (17:37 +0100)
commite07ac8f31466fd7e9dff4cbc9cccb31b96c942e8
tree6ee0c7b70e48ef4e24313c0b64f74298fa87f7a5
parent4c5a79089169a7ae63dc45382237067a9b62b1c0
resourceloader: Also clear store in debug mode to simplify mw.loader.store.init()

This makes it consistent with the other two circumstances in which
mw.loader.store is disabled.

Also, it makes debug=true a more easily accessible means for users
to clear module storage, which can be useful at times (without requiring
console access).

Change-Id: I9c66815a2f6c60feef3e070cfe57c382a69cc752
resources/src/startup/mediawiki.js