mediawiki-skins-MinervaNeue/tests/qunit
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
..
skins.minerva.notifications.badge Fix broken QUnit test 2017-11-28 11:46:55 -08:00
skins.minerva.scripts Show Download button only on Android >= 5 & Chrome >= 41 2018-01-16 22:15:07 +01:00