jQuery introduced API-breaking changes to their offset() method in 3.x. In particular, it appears that it will directly throw an error if the target of .offset() isn't a linked, visible DOM element.
Flocking, however, will call this method on any target supplied to flock.ugen.mouse.cursor. Clearly, since jQuery is making their library less robust, we'll have to make ours more so.
jQuery introduced API-breaking changes to their
offset()
method in 3.x. In particular, it appears that it will directly throw an error if the target of.offset()
isn't a linked, visible DOM element.Flocking, however, will call this method on any
target
supplied toflock.ugen.mouse.cursor
. Clearly, since jQuery is making their library less robust, we'll have to make ours more so.