Closed (fixed)
Project:
Blazy
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2024 at 08:01 UTC
Updated:
26 May 2024 at 16:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dahousecat commentedComment #3
gausarts commentedThank you.
Mind providing detailed repro steps?
I couldn't reproduce it with tons of samples, but happy to see the underlying cause.
The
scope._rafis always defined before calling the observer here:https://git.drupalcode.org/project/blazy/-/blob/8.x-2.x/js/src/base/io/b...
Technically if
scope._rafis undefined as your error said, thenscope._queueshould be, too, but you didn't indicate it so?Also you may want to update the non-minified JS here as well:
https://git.drupalcode.org/project/blazy/-/blob/8.x-2.x/js/src/plugin/bl...
Comment #4
gausarts commentedAssumed calling this internal method externally without expected parameters which is not supported, anyway.
However added the proposed check for potential external usages.
Thank you.