mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
11 lines
177 B
JavaScript
11 lines
177 B
JavaScript
function Widget(config) {
|
|
this.name = 'app-foo';
|
|
this.config = config;
|
|
this.getWidget('bar').appendHtml('FOO');
|
|
}
|
|
|
|
Widget.prototype = {
|
|
|
|
};
|
|
|
|
exports.Widget = Widget; |