/// <reference path="../scripts/typings/jquery/jquery.d.ts" />
var G = GL;

// Module
var UI;
(function (UI) {
    // Class
    var KundenUI = (function () {
        function KundenUI() {
        }
        KundenUI.renderTable = function () {
            var liste = new G.KundenManager().getAll();

            //for (var k in liste) {
            //    document.write(k.);
            //}
            $('#content').before(liste.length + " Kunden:<hr>");
            for (var i = 0; i < liste.length; i++) {
                var kunde = liste[i];
                $('#content').before("Objekt #" + i + ": " + kunde.getInfo() + "<br>");
            }
        };
        return KundenUI;
    })();
    UI.KundenUI = KundenUI;
})(UI || (UI = {}));

$(document).ready(function () {
    $('#headline').css("color", "red");
    $('#headline').text('Kundendemo');

    UI.KundenUI.renderTable();
});
//# sourceMappingURL=UI.Kunde.js.map
