modules/@themost/web/handlers/querystring.js
function caseInsensitiveAttribute(name) {
    if (typeof name === 'string') {
        if (this[name])
            return this[name];
        //otherwise make a case insensitive search
        var re = new RegExp('^' + name + '$','i');
        var p = Object.keys(this).filter(function(x) { return re.test(x); })[0];
        if (p)
            return this[p];
    }
}
function caseInsensitiveAttribute(name) {
    if (typeof name === 'string') {
        if (this[name])
            return this[name];
        //otherwise make a case insensitive search
        var re = new RegExp('^' + name + '$','i');
        var p = Object.keys(this).filter(function(x) { return re.test(x); })[0];
        if (p)
            return this[p];
    }
}
function caseInsensitiveAttribute ( name ) { if ( typeof name === 'string' ) { if ( this [ name ] ) return this [ name ] ; //otherwise make a case insensitive search var re = new RegExp ( '^' + name + '$' , 'i' ) ; var p = Object . keys ( this ) . filter ( function ( x ) { return re . test ( x ) ; } ) [ 0 ] ; if ( p ) return this [ p ] ; } }
Provides a case insensitive attribute getter
@param name
@returns {*}
@private
Provides a case insensitive attribute getter