lib/numbering.js
function findRepeater(node) {
    while (node) {
        if (node.repeat) {
            return node.repeat;
        }

        node = node.parent;
    }
}
function findRepeater(node) {
    while (node) {
        if (node.repeat) {
            return node.repeat;
        }

        node = node.parent;
    }
}
function findRepeater ( node ) { while ( node ) { if ( node . repeat ) { return node . repeat ; } node = node . parent ; } }
Returns repeater object for given node
@param  {Node} node
@return {Object}
Returns repeater object for given node