{"size": 366, "ext": "js", "max_stars_repo_path": "results/4_extract-code/code/match-media-mock/match-media-mock_13.js", "max_stars_repo_name": "proglang/dts-generate-results", "max_stars_repo_stars_event_min_datetime": "2021-04-21T16:38:38.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-17T15:20:30.000Z", "max_issues_repo_path": "results/4_extract-code/code/match-media-mock/match-media-mock_13.js", "max_issues_repo_name": "proglang/dts-generate-results", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "results/4_extract-code/code/match-media-mock/match-media-mock_13.js", "max_forks_repo_name": "proglang/dts-generate-results", "max_forks_repo_forks_event_min_datetime": "2019-10-31T18:45:26.000Z", "max_forks_repo_forks_event_max_datetime": "2019-10-31T18:45:26.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 26.1428571429, "max_line_length": 57, "alphanum_fraction": 0.7021857923}
var Radium = require('radium')
var matchMediaMock = require('match-media-mock').create()
Radium.config.setMatchMedia(matchMediaMock)

app.get('/app/:width/:height', function(req, res) {
  matchMediaMock.setConfig({
    type: 'screen',
    width: req.params.width,
    height: req.params.height
  })
  var html = React.renderToString(<RadiumApp/>)
  res.end(html)
})
