Problem/Motivation

Currently, the Pikaday CSS and JS files have been added to the module directly. This isn't a recommended way of accessing 3rd party code.

Steps to reproduce

Check JS and CSS folder of the module.

Proposed resolution

Replace the usage of these files with CDN alternatives.

<script src="https://cdn.jsdelivr.net/npm/pikaday/pikaday.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/pikaday/css/pikaday.css">

Remaining tasks

User interface changes

API changes

Data model changes

Comments

gaurav.kapoor created an issue. See original summary.

gaurav.kapoor’s picture

Title: Use pikaday CDN instead of saving JS and CSS files in the modules folder. » Use pikaday library via CDN or through libraries folder instead of saving JS and CSS files in the modules folder.

  • gaurav.kapoor authored 411f7d8 on 2.0.x
    Issue #3262468 by gaurav.kapoor: Use pikaday library via CDN or through...

  • gaurav.kapoor authored fe50c4e on 2.0.x
    Issue #3262468 by gaurav.kapoor: Use pikaday library via CDN or through...
gaurav.kapoor’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.