_bpToEms = function()

in lib/dd.breakpoints.js [198:219]


    _bpToEms = function(breakpoint, isMax) {
        if (typeof (breakpoint) === 'number') {
            return _pxToEms(breakpoint);
        }

        var list = (isMax === true) ? _maxBreakpoints : _minBreakpoints,
            ems = '0';

        for (var key in list) {
            if (list.hasOwnProperty(key)) {
                if (breakpoint === key.toLowerCase()) {
                    ems = _pxToEms(list[key]);
                }
            }
        }

        if (ems === '0') {
            console.warn('DD.bp: Breakpoint \'' + breakpoint + '\' doesn\'t exist - replacing with 0');
        }

        return ems;
    };