MinervaNeue/resources/skins.minerva.scripts
Piotr Miazga 4ca5666c06 Show Download button only on Android >= 5 & Chrome >= 41
Changes:
 - moved DownloadButtton checks & initialization to separate function
 - introduced supportedNamespaces variable for better readability
 - reorganized huge if(){} statement to set of smaller if's with
 nice comments why this configuration is not supported
 - introduced getAndroidVersion and getChromeVersion helper functions
 - added check to not allow Android < 5 or Chrome < 41
 - added unit tests

Bug: T182059
Change-Id: Ib5064459ee56aed68179389f37b4bc3b5c2c4492
2018-01-16 22:15:07 +01:00
..
DownloadIcon.js Show Download button only on Android >= 5 & Chrome >= 41 2018-01-16 22:15:07 +01:00
cleanuptemplates.js Collapse amboxes in edit view 2017-09-27 21:04:36 +00:00
init.js Show Download button only on Android >= 5 & Chrome >= 41 2018-01-16 22:15:07 +01:00
initLogging.js Hygiene: Cleanup initialisation files 2017-09-07 17:48:58 +00:00
mobileRedirect.js Minerva is its own skin 2017-07-12 08:12:40 -07:00
preInit.js Hygiene: Minerva uses skin instance defined by MobileFrontend 2017-10-11 23:43:57 +00:00
references.js Minerva is its own skin 2017-07-12 08:12:40 -07:00
search.js Drop Android2 check for search 2017-08-28 15:32:00 -05:00