{"size": 447, "ext": "js", "max_stars_repo_path": "test/autotests/components-browser-deprecated/widget-destroy-unsubscribe-custom-events/index.js", "max_stars_repo_name": "pcanella/marko", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/autotests/components-browser-deprecated/widget-destroy-unsubscribe-custom-events/index.js", "max_issues_repo_name": "pcanella/marko", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/autotests/components-browser-deprecated/widget-destroy-unsubscribe-custom-events/index.js", "max_forks_repo_name": "pcanella/marko", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.5263157895, "max_line_length": 69, "alphanum_fraction": 0.5838926174}
module.exports = require('marko/components/legacy').defineComponent({
    template: require.resolve('./template.marko'),
    getInitialState: function(input) {
        return {
        };
    },
    getTemplateData: function(state, input) {
        return {
        };
    },

    destroyButton1: function(size) {
        this.getWidget('button1').destroy();
    },

    getButton1: function() {
        return this.getWidget('button1');
    }
});