bundles/org.eclipse.orion.client.javascript/web/eslint/lib/utils/source-code.js
function(first, second) {
        var text = this.text.slice(first.range[1], second.range[0]);
        return /\s/.test(text.replace(/\/\*.*?\*\//g, ""));
    }
function(first, second) {
        var text = this.text.slice(first.range[1], second.range[0]);
        return /\s/.test(text.replace(/\/\*.*?\*\//g, ""));
    }
function ( first , second ) { var text = this . text . slice ( first . range [ 1 ] , second . range [ 0 ] ) ; return / \s / . test ( text . replace ( / \/\*.*?\*\/ / g , "" ) ) ; }
Determines if two tokens have at least one whitespace character
between them. This completely disregards comments in making the
determination, so comments count as zero-length substrings.
@param {Token} first The token to check after.
@param {Token} second The token to check before.
@returns {boolean} True if there is only space between tokens, false
if there is anything other than whitespace between tokens.
Determines if two tokens have at least one whitespace character between them . This completely disregards comments in making the determination so comments count as zero - length substrings .