/// <reference path="../scripts/typings/jquery/jquery.d.ts" />
var GL = DemoKunden.GL;
var Modell = DemoKunden.GO;
// Module
var DemoKunden;
(function (DemoKunden) {
    var UI;
    (function (UI) {
        // Class
        var KundenUI = (function () {
            function KundenUI() {
            }
            KundenUI.renderTable = function () {
                var liste = new DemoKunden.GL.KundenManager().getAll("Berlin");
                //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 = DemoKunden.UI || (DemoKunden.UI = {}));
})(DemoKunden || (DemoKunden = {}));
$(document).ready(function () {
    $('#headline').css("color", "red");
    $('#headline').text('Kundendemo');
    DemoKunden.UI.KundenUI.renderTable();
});
//# sourceMappingURL=UI.Kunde.js.map