dist/truncate.es.js
function extend(obj, dft) {
        if (obj == null) {
            obj = {};
        }
        for (var k in dft) {
            var v = dft[k];
            if (obj[k] != null) {
                continue;
            }
            obj[k] = v;
        }
        return obj;
    }
function extend(obj, dft) {
        if (obj == null) {
            obj = {};
        }
        for (var k in dft) {
            var v = dft[k];
            if (obj[k] != null) {
                continue;
            }
            obj[k] = v;
        }
        return obj;
    }
function extend ( obj , dft ) { if ( obj == null ) { obj = { } ; } for ( var k in dft ) { var v = dft [ k ] ; if ( obj [ k ] != null ) { continue ; } obj [ k ] = v ; } return obj ; }
extend obj with dft
extend obj with dft