Skip to content

[Enhancement] MooTools jsDelivr version bump #155

@willstocks

Description

@willstocks

Per earlier discussion in a separate thread (apologies - I hijacked the end of #153 (comment) and should've opened this separately, which I'm doing now!):

MooTools from jsdelivr via Enlighter (plugin) is a minor version behind all other CDN's?

self::$cdnLocations['mootools-google'] = '//ajax.googleapis.com/ajax/libs/mootools/1.6.0/mootools.min.js';
self::$cdnLocations['mootools-cdnjs'] = '//cdnjs.cloudflare.com/ajax/libs/mootools/1.6.0/mootools-core.min.js';
self::$cdnLocations['mootools-jsdelivr'] = '//cdn.jsdelivr.net/mootools/1.5.0/mootools-core-nocompat

To get around this, I enqueued MooTools from jsDelivr manually using https://cdn.jsdelivr.net/gh/mootools/mootools-core@1.6.0/dist/mootools-core.min.js (using their GitHub repo as the source!) and it has been working without any issues. The only problem with this is, it means that I'm not loading MooTools only when absolutely necessary (DRI).

I'll switch back to using the plugin enqueued version (v1.5.0) for the time being so that it's only enqueued when necessary via DRI (confirmed working).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions