demo-src/player/public/build/bundle.js
// any node with a duration of zero should get the duration of its parent container
any node with a duration of zero should get the duration of its parent container
any node with a duration of zero should get the duration of its parent container
function fixZeroDurations(body) {
        visit(body, node => {
            if (node.dur == 0) {
                if (node.parent) {
                    node.dur = node.parent.dur;
                }
            }
        });
    }
function fixZeroDurations ( body ) { visit ( body , node => { if ( node . dur == 0 ) { if ( node . parent ) { node . dur = node . parent . dur ; } } } ) ; }
any node with a duration of zero should get the duration of its parent container
any node with a duration of zero should get the duration of its parent container