1
2
3
4
5
6
7
8
9
define.class('$server/composition', function(require, $ui$, screen, label){
        this.render = function() {
                return [
                        screen({clearcolor: "white"},
                                label({text: "Hello world!", fgcolor: "black"})
                        )
                ];
        }
});