mediawiki.storage: Document 'null' return from get()
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 15 Jun 2017 20:25:45 +0000 (21:25 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 15 Jun 2017 20:25:45 +0000 (21:25 +0100)
commitd18df9bf58365ba7e4723058145fb9704c4c432f
treeac1c507bc790fb65e173dd10674078cd2615baa1
parent92a563c783d7e1a285d891b5a27dc551e9f4ceb3
mediawiki.storage: Document 'null' return from get()

Follows-up 7daab75414d. Forgot to document the full return scope
of HTML Storage#get, which is 'string or null'.

We may want to consider changing the 'false' return to 'null', so
that the concept of "localStorage disabled" is entirely hidden
behind the regular return values (null in case of #get).

Change-Id: I6bed62457d2e64831ec8241e16f7e8c85c6531a4
resources/src/mediawiki/mediawiki.storage.js