mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-13 14:28:38 -04:00
Add reason for conditional loading logic
Former-commit-id: 9baff5719b2d878f02e51bdf607cb1a72fe02761 [formerly 4139cd6326aefe84141baa0352b69c2973d7aa15] [formerly d69845f596cbbc09f0af68db4c6b8648f58e7422] [formerly 8b0958f4018bb50f79e3e49f0dd8ab93f6c31cc3 [formerly 4ac170a1cc9283f5d0ef0e6150ed601f549e13f2 [formerly a208f1d8282699412fda0e2ce34628cbac7d4bac]]] Former-commit-id: 257a6fe718b9f9467d1f3a2792355bc099a545a8 [formerly f1e4a9c954211b8307f11f01893b974b9b8d83e4 [formerly 4077d4f74dfbd58834dea1606c88fc1880e88478]] Former-commit-id: 0f0c346893452cf2b95fbce0e0801c98f0426552 [formerly b16bca6edf39053577a26c43008a45fba067f2c8] Former-commit-id: feb44a4ae38a06fde01fbc502ecd58e55ab84880
This commit is contained in:
parent
cef3a1cf7b
commit
71f71c5d85
@ -22,7 +22,8 @@
|
||||
'use strict';
|
||||
|
||||
// DEV: Please put your RequireJS definition in the rqDef array below, and any function exports in the function parenthesis of the define statement
|
||||
// (we need to do it this way in order to load WebP polyfills conditionally)
|
||||
// We need to do it this way in order to load WebP polyfills conditionally. The WebP polyfills are only needed by a few old browsers, so loading them
|
||||
// only if needed saves approximately 1MB of memory.
|
||||
var rqDef = [];
|
||||
|
||||
// Add WebP polyfill only if webpHero was loaded in init.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user