Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
I was hoping that fastclick could support versioning regex so that the version would be a number readable by Libraries API. This would allow services like CDNs to use this numeric version to pull down the same local version of the fastclick.js file to be used on a drupal site. I've supplied a patch that does version matching in the js file to pull the correct version down. Please let me know if you have any questions.
Thank you for your time,
Mark Milutinovic
Comment | File | Size | Author |
---|---|---|---|
#2 | add_version_regex-2755133-2.patch | 642 bytes | mmilutinovic1313 |
Comments
Comment #2
mmilutinovic1313 CreditAttribution: mmilutinovic1313 commentedComment #3
Pere OrgaThanks for the patch (updating status)
Comment #5
Pere OrgaApplied, thanks!
Comment #6
mitche42 CreditAttribution: mitche42 as a volunteer commentedAfter updating the FastClick module with this patch I get the warning message "Error loading FastClick Library." I suspect something in this patch is not working.
Comment #7
Pere OrgaI could not reproduce, but to be safe I've reverted the patch and released 7.x-1.5
Comment #9
mitche42 CreditAttribution: mitche42 as a volunteer commentedI tried to find a fix but ended up hacking it with a reversion as well. Your reversion (update 1.5) works for me.
Comment #10
Pere Orga