{"size": 1002, "ext": "js", "max_stars_repo_path": "src/server/remote_loader.js", "max_stars_repo_name": "svelto/demo", "max_stars_repo_stars_event_min_datetime": "2019-10-23T06:54:45.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-23T18:28:07.000Z", "max_issues_repo_path": "src/server/remote_loader.js", "max_issues_repo_name": "svelto/svelto-demo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/server/remote_loader.js", "max_forks_repo_name": "svelto/svelto-demo", "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": 21.3191489362, "max_line_length": 91, "alphanum_fraction": 0.5489021956}

/* REMOTE LOADER */

const requests = {

  '/remote-loader-text': () => '<span>Remote loaded content</span>',

  '/remote-loader-json': () => ({
    html: '<span>JSON-loaded content</span>'
  }),

  '/remote-loader-widget': () => '<div class="button ripple ripple-primary">Ripples</div>',

  '/remote-loader-no-wrap': () => '<span>Not wrapped content</span>',

  '/remote-loader-json-wrong': () => ({}),

  '/remote-loader-json-message': () => ({
    message: '<span>Error message...</span>'
  }),

  '/remote-loader-scroll': () => ({
    message: '<span>Loaded!</span>'
  }),

  '/remote-loader-preload': () => ({
    html: '<span>Preloaded!</span>'
  }),

  '/remote-loader-autofocus': () => ({
    html: '<input class="bordered" autofocus>'
  }),

  '/remote-loader-target': () => ({
    html: `
      <p class="ok">...remote loaded content...</p>
      <p class="ok">...that matches the selector</p>
      <p>I don't match the selector</p>
    `
  })

};

/* EXPORT */

module.exports = requests;
