coffeescript-ui
Version:
Coffeescript User Interface System
54 lines (48 loc) • 1.02 kB
JavaScript
// Generated by CoffeeScript 1.10.0
(function() {
var App;
App = (function() {
function App() {
var body;
body = new CUI.BorderLayout({
west: {
content: new CUI.Label({
centered: true,
text: "West"
})
},
east: {
content: new CUI.Label({
centered: true,
text: "East"
})
},
center: {
content: new CUI.Label({
centered: true,
size: "big",
text: "Hello world!",
icon: "fa-building"
})
},
north: {
content: new CUI.Label({
centered: true,
text: "North"
})
},
south: {
content: new CUI.Label({
centered: true,
text: "South"
})
}
});
CUI.dom.append(document.body, body);
}
return App;
})();
CUI.ready(function() {
return new App();
});
}).call(this);