src/LiveDevelopment/Agents/DOMHelpers.js
function _findEach(src, match, quotes, comments, callback) {
        var from = 0;
        var to;
        while (from < src.length) {
            to = _find(src, match, from, quotes, comments);
            if (to < 0) {
                to = src.length;
            }
            callback(src.substr(from, to - from));
            from = to + 1;
        }
    }
function _findEach(src, match, quotes, comments, callback) {
        var from = 0;
        var to;
        while (from < src.length) {
            to = _find(src, match, from, quotes, comments);
            if (to < 0) {
                to = src.length;
            }
            callback(src.substr(from, to - from));
            from = to + 1;
        }
    }
function _findEach ( src , match , quotes , comments , callback ) { var from = 0 ; var to ; while ( from < src . length ) { to = _find ( src , match , from , quotes , comments ) ; if ( to < 0 ) { to = src . length ; } callback ( src . substr ( from , to - from ) ) ; from = to + 1 ; } }
Callback iterator using `_find`
Callback iterator using _find