dist/ngtweet.js
function getSourceRuleString(sourceRule) {
        function getRuleString(rule) {
            if (rule.length === 1) {
                return '"' + rule + '"';
            }
            return '("' + rule.join('" AND "') + '")';
        }

        return sourceRule.map(getRuleString).join(' OR ');
    }
function getSourceRuleString(sourceRule) {
        function getRuleString(rule) {
            if (rule.length === 1) {
                return '"' + rule + '"';
            }
            return '("' + rule.join('" AND "') + '")';
        }

        return sourceRule.map(getRuleString).join(' OR ');
    }
function getSourceRuleString ( sourceRule ) { function getRuleString ( rule ) { if ( rule . length === 1 ) { return '"' + rule + '"' ; } return '("' + rule . join ( '" AND "' ) + '")' ; } return sourceRule . map ( getRuleString ) . join ( ' OR ' ) ; }
Turn the rules for a sourceType into a human-readable string
@param {string[][]} sourceRule - The sourceType rules
@return {string} the readable rules
Turn the rules for a sourceType into a human - readable string