Problem/Motivation

When Slick is configured to use Accessible Slick, some pages that use Slick can throw:

Uncaught ReferenceError: dBlazy is not defined (from slick.load.min.js)

This happens because slick.load ends up running without blazy/dblazy being loaded first.

Steps to reproduce

  1. Enable Slick and Blazy.
  2. Configure Slick to use Accessible Slick (slick.settings: library: accessible-slick).
  3. View a page that initializes Slick using slick.load (for us this shows up on node preview).
  4. Open the browser console.

Proposed resolution

dblazy.min.js (which defines dBlazy) should load before slick.load.min.js, so Slick initializes without errors.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork slick-3582440

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

luongosb created an issue. See original summary.

gausarts’s picture

Status: Active » Fixed

Thank you.

Patches are welcome.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

gausarts’s picture

Status: Fixed » Needs review