scripts/wee-screen.js
function _eq(evt, size, init) {
    const sz = evt.size;
    const mn = evt.min;
    const mx = evt.max;
    const ex = evt.each || init;

    // Check match against rules
    return (! sz && ! mn && ! mx) ||
        (sz && sz === size) ||
        (mn && size >= mn && (ex || current < mn) && (! mx || size <= mx)) ||
        (mx && size <= mx && (ex || current > mx) && (! mn || size >= mn));
}
function _eq(evt, size, init) {
    const sz = evt.size;
    const mn = evt.min;
    const mx = evt.max;
    const ex = evt.each || init;

    // Check match against rules
    return (! sz && ! mn && ! mx) ||
        (sz && sz === size) ||
        (mn && size >= mn && (ex || current < mn) && (! mx || size <= mx)) ||
        (mx && size <= mx && (ex || current > mx) && (! mn || size >= mn));
}
function _eq ( evt , size , init ) { const sz = evt . size ; const mn = evt . min ; const mx = evt . max ; const ex = evt . each || init ; // Check match against rules return ( ! sz && ! mn && ! mx ) || ( sz && sz === size ) || ( mn && size >= mn && ( ex || current < mn ) && ( ! mx || size <= mx ) ) || ( mx && size <= mx && ( ex || current > mx ) && ( ! mn || size >= mn ) ) ; }
Compare event rules against current size

@private
@param {Object} evt
@param {number} size
@param {boolean} init
@returns {boolean}
Compare event rules against current size