{"size": 619, "ext": "js", "max_stars_repo_path": "javascripts/apps/worker.js", "max_stars_repo_name": "cedricfung/MeT", "max_stars_repo_stars_event_min_datetime": "2018-05-03T17:09:51.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-18T14:48:52.000Z", "max_issues_repo_path": "javascripts/apps/worker.js", "max_issues_repo_name": "vecio/MeT", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "javascripts/apps/worker.js", "max_forks_repo_name": "vecio/MeT", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.34375, "max_line_length": 52, "alphanum_fraction": 0.534733441}
(function(){
  importScripts('../libs/marked.js');

  marked.setOptions({
    gfm: true,
    tables: true,
    breaks: false,
    blocks: true,
    pedantic: false,
    sanitize: true,
    smartLists: true,
    smartypants: true,
    langPrefix: 'lang-'
  });

  addEventListener('message', function(e) {
    switch (e.data.cmd) {
      case 'parse': {
        var result = marked(e.data.text);
        postMessage({type: 'result', text: result});
        setTimeout(function() {
          postMessage({type: 'request'});
        }, 2000);
        break;
      }
      default:
        break;
    }
  }, false);

}());
