/* automatically generated by JSCoverage - do not edit */
if (typeof _$jscoverage === 'undefined') _$jscoverage = {};
if (! _$jscoverage['middleware.js']) {
  _$jscoverage['middleware.js'] = [];
  _$jscoverage['middleware.js'][18] = 0;
  _$jscoverage['middleware.js'][19] = 0;
  _$jscoverage['middleware.js'][20] = 0;
  _$jscoverage['middleware.js'][21] = 0;
  _$jscoverage['middleware.js'][22] = 0;
  _$jscoverage['middleware.js'][23] = 0;
  _$jscoverage['middleware.js'][24] = 0;
  _$jscoverage['middleware.js'][25] = 0;
  _$jscoverage['middleware.js'][27] = 0;
  _$jscoverage['middleware.js'][28] = 0;
  _$jscoverage['middleware.js'][30] = 0;
  _$jscoverage['middleware.js'][31] = 0;
  _$jscoverage['middleware.js'][32] = 0;
  _$jscoverage['middleware.js'][35] = 0;
}
_$jscoverage['middleware.js'][18]++;
exports.init = (function (app) {
  _$jscoverage['middleware.js'][19]++;
  return (function (req, res, next) {
  _$jscoverage['middleware.js'][20]++;
  var charset;
  _$jscoverage['middleware.js'][21]++;
  res.setHeader("X-Powered-By", "Express");
  _$jscoverage['middleware.js'][22]++;
  req.app = res.app = app;
  _$jscoverage['middleware.js'][23]++;
  req.res = res;
  _$jscoverage['middleware.js'][24]++;
  res.req = req;
  _$jscoverage['middleware.js'][25]++;
  req.next = next;
  _$jscoverage['middleware.js'][27]++;
  req.__proto__ = app.request;
  _$jscoverage['middleware.js'][28]++;
  res.__proto__ = app.response;
  _$jscoverage['middleware.js'][30]++;
  res.locals = (function (obj) {
  _$jscoverage['middleware.js'][31]++;
  for (var key in obj) {
    _$jscoverage['middleware.js'][31]++;
    res.locals[key] = obj[key];
}
  _$jscoverage['middleware.js'][32]++;
  return res;
});
  _$jscoverage['middleware.js'][35]++;
  next();
});
});
_$jscoverage['middleware.js'].source = ["","/*!"," * Express - middleware - init"," * Copyright(c) 2010-2011 TJ Holowaychuk &lt;tj@vision-media.ca&gt;"," * MIT Licensed"," */","","/**"," * Initialization middleware, exposing the"," * request and response to eachother, as well"," * as defaulting the X-Powered-By header field."," *"," * @param {Function} app"," * @return {Function}"," * @api private"," */","","exports.init = function(app){","  return function(req, res, next){","    var charset;","    res.setHeader('X-Powered-By', 'Express');","    req.app = res.app = app;","    req.res = res;","    res.req = req;","    req.next = next;","","    req.__proto__ = app.request;","    res.__proto__ = app.response;","","    res.locals = function(obj){","      for (var key in obj) res.locals[key] = obj[key];","      return res;","    };","","    next();","  }","};"];
