Code coverage report for lib/platforms-data.js

Statements: 92.31% (12 / 13)      Branches: 100% (0 / 0)      Functions: 80% (4 / 5)      Lines: 92.31% (12 / 13)      Ignored: none     

All files » lib/ » platforms-data.js
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 32 33 34 35    1 1 14 14         1   1279         1     1   9               1   1 1  
///<reference path=".d.ts"/>
"use strict";
var PlatformsData = (function () {
    function PlatformsData($androidProjectService, $iOSProjectService) {
        this.platformsData = {};
        this.platformsData = {
            ios: $iOSProjectService.platformData,
            android: $androidProjectService.platformData
        };
    }
    Object.defineProperty(PlatformsData.prototype, "platformsNames", {
        get: function () {
            return Object.keys(this.platformsData);
        },
        enumerable: true,
        configurable: true
    });
    PlatformsData.prototype.getPlatformData = function (platform) {
        return this.platformsData[platform];
    };
    Object.defineProperty(PlatformsData.prototype, "availablePlatforms", {
        get: function () {
            return {
                iOS: "ios",
                Android: "android"
            };
        },
        enumerable: true,
        configurable: true
    });
    return PlatformsData;
})();
exports.PlatformsData = PlatformsData;
$injector.register("platformsData", PlatformsData);