all files / general/ pdf-collection.js

92.86% Statements 13/14
75% Branches 3/4
100% Functions 5/5
92.86% Lines 13/14
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31       93× 15×   93×           123×     123×              
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var PdfCollection = (function () {
        function PdfCollection() {
        }
        Object.defineProperty(PdfCollection.prototype, "count", {
            get: function () {
                if (typeof this.collection === 'undefined') {
                    this.collection = [];
                }
                return this.collection.length;
            },
            enumerable: true,
            configurable: true
        });
        Object.defineProperty(PdfCollection.prototype, "list", {
            get: function () {
                Iif (typeof this.collection === 'undefined') {
                    this.collection = [];
                }
                return this.collection;
            },
            enumerable: true,
            configurable: true
        });
        return PdfCollection;
    }());
    exports.PdfCollection = PdfCollection;
});