{"size": 375, "ext": "js", "max_stars_repo_path": "packages/marko/test/components-browser/fixtures-deprecated/widget-destroy-unsubscribe-custom-events/index.js", "max_stars_repo_name": "Prateekweb/marko", "max_stars_repo_stars_event_min_datetime": "2020-04-30T11:31:50.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-30T11:31:50.000Z", "max_issues_repo_path": "packages/marko/test/components-browser/fixtures-deprecated/widget-destroy-unsubscribe-custom-events/index.js", "max_issues_repo_name": "Prateekweb/marko", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "packages/marko/test/components-browser/fixtures-deprecated/widget-destroy-unsubscribe-custom-events/index.js", "max_forks_repo_name": "Prateekweb/marko", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.8333333333, "max_line_length": 69, "alphanum_fraction": 0.6453333333}
module.exports = require("marko/legacy-components").defineComponent({
  template: require.resolve("./template.marko"),
  getInitialState: function() {
    return {};
  },
  getTemplateData: function() {
    return {};
  },

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

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