{"size": 558, "ext": "js", "max_stars_repo_path": "lib/customize.js", "max_stars_repo_name": "articnet/BangleApps", "max_stars_repo_stars_event_min_datetime": "2020-10-26T15:47:29.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-22T02:41:13.000Z", "max_issues_repo_path": "lib/customize.js", "max_issues_repo_name": "articnet/BangleApps", "max_issues_repo_issues_event_min_datetime": "2021-01-28T15:20:15.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-21T09:09:56.000Z", "max_forks_repo_path": "lib/customize.js", "max_forks_repo_name": "articnet/BangleApps", "max_forks_repo_forks_event_min_datetime": "2020-11-18T17:44:35.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-22T02:41:16.000Z"}
{"max_stars_count": 16, "max_issues_count": 10, "max_forks_count": 20, "avg_line_length": 21.4615384615, "max_line_length": 99, "alphanum_fraction": 0.6362007168}
/* Library for 'custom' HTML files that are to
be used from within BangleApps

See: README.md / `apps.json`: `custom` element
*/

/* Call with a JS object:

sendCustomizedApp({
  id : "7chname",

  storage:[
    {name:"-7chname", content:app_source_code},
    {name:"+7chname", content:JSON.stringify({
      name:"My app's name",
      icon:"*7chname",
      src:"-7chname"
    })},
    {name:"*7chname", content:'require("heatshrink").decompress(atob("mEwg...4"))', evaluate:true},
  ]
});
*/
function sendCustomizedApp(app) {
  window.postMessage(app);
}
