On 11.01.2021 12:56, Dirk Fieldhouse wrote:
> prevAll(), nextAll() and eq() are jQuery methods (get the list of
> previous/subsequent siblings of a DOM element, get the nth item of a
> list), but jQuery does not seem to be in use.

No, actually it seems to be object-assign
(https://github.com/sindresorhus/object-assign) accoding to
https://www.ardmediathek.de/main.940c64ac.js.LICENSE.txt.

Those methods seem to be defined like this:

var m = {
        eq: function(e) {
            if (void 0 === e) return this
            var t = this.length
            if (e > t - 1) return f([])
            if (e < 0) {
                var n = t + e
                return f(n < 0 ? [] : [this[n]])
            }
            return f([this[e]])
        },
...
}

And then probably made available through

    Object.keys(m).forEach((function(e) {
        f.fn[e] = m[e]
    }))

But all this is way beyond my JS knowledge.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to