function Dialogue(title,contents,buttons) {

    var Title;
    var Contents;
    var Buttons;

    /** Setters */
    function SetTitle(){

    }
    function SetButtons(){

    }
    function SetContents(){

    }
    function SetID(){

    }

    /** Getters */
    function GetTitle(){

    }
    function GetButtons(){

    }
    function GetContents(){

    }
    function GetID(){

    }

    /** Functionals */
    function Init(){
        SetTitle(title);
        SetContents(contents);
        SetButtons(buttons);
        SetID();
    }

    Init();
    /** Publicly Exposed Methods */
    return {
        show: function(){
            alert("Showing Dialogue");
        },
        hide: function(){
            alert("Hiding Dialogue");
        }
    }
}

var dialogue = new Dialogue("Help", "Some random help text", ["close", "ok", "cancel"]);
@@ -1,16 +1,200 @@
+function App()%7B%0A    return %7B%0A        assert: function(a, b, message) %7B%0A            if (a !== b) %7B%0A                throw message %7C%7C %22Assertion Failed%22;%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A%0A
 function Dialogu
@@ -218,17 +218,16 @@
 buttons)
- 
 %7B%0A%0A    v
@@ -270,16 +270,53 @@
 Buttons;
+%0A    var ID;%0A    var app = new App();
 %0A%0A    /*
@@ -342,35 +342,124 @@
 nction SetTitle(
-)%7B%0A
+title)%7B%0A        Title = title;%0A        app.assert(Title, title, %22Title not set correctly.%22);
 %0A    %7D%0A    funct
@@ -859,24 +859,25 @@
     Init();%0A
+%0A
     /** Publ

Add assert as part of App();