lib/level.js
function(techIdent, opts) {
        if (typeof opts === 'boolean') {
            //legacy code used `force` second argument
            opts = {force: opts};
        }
        opts = opts || {};
        if(bemUtil.isPath(techIdent)) {
            return this.resolveTechPath(techIdent);
        }
        if(!opts.force && this.getTechs().hasOwnProperty(techIdent)) {
            return this.resolveTechName(techIdent);
        }
        return bemUtil.getBemTechPath(techIdent, opts);
    }
function(techIdent, opts) {
        if (typeof opts === 'boolean') {
            //legacy code used `force` second argument
            opts = {force: opts};
        }
        opts = opts || {};
        if(bemUtil.isPath(techIdent)) {
            return this.resolveTechPath(techIdent);
        }
        if(!opts.force && this.getTechs().hasOwnProperty(techIdent)) {
            return this.resolveTechName(techIdent);
        }
        return bemUtil.getBemTechPath(techIdent, opts);
    }
function ( techIdent , opts ) { if ( typeof opts === 'boolean' ) { //legacy code used `force` second argument opts = { force : opts } ; } opts = opts || { } ; if ( bemUtil . isPath ( techIdent ) ) { return this . resolveTechPath ( techIdent ) ; } if ( ! opts . force && this . getTechs ( ) . hasOwnProperty ( techIdent ) ) { return this . resolveTechName ( techIdent ) ; } return bemUtil . getBemTechPath ( techIdent , opts ) ; }
Resolve tech identifier into tech module path.

@param {String} techIdent  Tech identifier.
@param {Object|Boolean} [opts]  Options to use during resolution. If boolean value
is passed, it gets used as `options.force` for backward compatibility.
@param {Boolean} [opts.force=false] Flag to not use tech name resolution.
@param {Boolean} [opts.throwWhenUnresolved=false] Throw an error, if tech cannot be
resoled. If false, will return base tech instead of unresolved.
@param {Number} [version=1] Version of a tech to load, for bem-tools techs.
@return {String}  Tech module path.
Resolve tech identifier into tech module path .