Changes
- A recent observation is that most if not all cdnjs.com mirrors in China are out-of-sync (
staticfile.net
,css.loli.net
,cdn.bytedance.com
) or otherwise inaccessible (cdn.baomitu.com
). Therefore, with this update we are opting for fully localised library loading, including jQuery and jquery-qrcode. The one-file usage is still supported, in whichcdnjs.com
is directly used to include static libraries.- Regarding the use of Public CDNs,
fastly.jsdelivr.net
andcdnjs.cloudflare.com
were both amongst the considerations made. We chose the latter because of its relative accessibility in China, lower packet-loss rate at evening 'peak' times despite relatively higher latency.
- Regarding the use of Public CDNs,
- Updated the gulp workflow to include jQuery and jquery-qrcode in addition to some behaviour changes.
- Minor changes in
merger.html
regarding behaviour, logic and code comments. - Updated README.md.
Overall, all this update does is:
- When used with npm, gulp will include all libraries in one file, eliminating reliance on external mirrors
- When used as a standalone html, libraries are served through
cdnjs.com
.
This release will remain as pre-release, pending further observation.
Full Changelog: 0.28.4...0.28.6