Code coverage report for src/compiler/subfacet.js

Statements: 100% (9 / 9)      Branches: 100% (2 / 2)      Functions: 100% (1 / 1)      Lines: 100% (9 / 9)      Ignored: none     

All files » src/compiler/ » subfacet.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 221 4 4                       4 4 4 4   1 1  
function default_1(group, mdef, details) {
    var m = group.marks;
    var g = {
        name: 'subfacet',
        type: 'group',
        from: mdef.from,
        properties: {
            enter: {
                width: { field: { group: 'width' } },
                height: { field: { group: 'height' } }
            }
        },
        marks: m
    };
    group.marks = [g];
    delete mdef.from;
    var trans = (g.from.transform || (g.from.transform = []));
    trans.push({ type: 'facet', groupby: details });
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
//# sourceMappingURL=subfacet.js.map