/* automatically generated by JSCoverage - do not edit */
if (typeof _$jscoverage === 'undefined') _$jscoverage = {};
if (! _$jscoverage['router/collection.js']) {
  _$jscoverage['router/collection.js'] = [];
  _$jscoverage['router/collection.js'][12] = 0;
  _$jscoverage['router/collection.js'][22] = 0;
  _$jscoverage['router/collection.js'][23] = 0;
  _$jscoverage['router/collection.js'][30] = 0;
  _$jscoverage['router/collection.js'][39] = 0;
  _$jscoverage['router/collection.js'][40] = 0;
  _$jscoverage['router/collection.js'][44] = 0;
  _$jscoverage['router/collection.js'][45] = 0;
  _$jscoverage['router/collection.js'][46] = 0;
  _$jscoverage['router/collection.js'][50] = 0;
}
_$jscoverage['router/collection.js'][12]++;
module.exports = Collection;
_$jscoverage['router/collection.js'][22]++;
function Collection(router) {
  _$jscoverage['router/collection.js'][23]++;
  Object.defineProperty(this, "router", {value: router});
}
_$jscoverage['router/collection.js'][30]++;
Collection.prototype.__proto__ = Array.prototype;
_$jscoverage['router/collection.js'][39]++;
Collection.prototype.remove = (function () {
  _$jscoverage['router/collection.js'][40]++;
  var router = this.router, len = this.length, ret = new Collection(this.router);
  _$jscoverage['router/collection.js'][44]++;
  for (var i = 0; i < len; ++i) {
    _$jscoverage['router/collection.js'][45]++;
    if (router.remove(this[i])) {
      _$jscoverage['router/collection.js'][46]++;
      ret.push(this[i]);
    }
}
  _$jscoverage['router/collection.js'][50]++;
  return ret;
});
_$jscoverage['router/collection.js'].source = ["","/*!"," * Express - router - Collection"," * Copyright(c) 2010 TJ Holowaychuk &lt;tj@vision-media.ca&gt;"," * MIT Licensed"," */","","/**"," * Expose `Collection`."," */","","module.exports = Collection;","","/**"," * Initialize a new route `Collection`"," * with the given `router`."," * "," * @param {Router} router"," * @api private"," */","","function Collection(router) {","  Object.defineProperty(this, 'router', { value: router });","}","","/**"," * Inherit from `Array.prototype`."," */","","Collection.prototype.__proto__ = Array.prototype;","","/**"," * Remove the routes in this collection."," *"," * @return {Collection} of routes removed"," * @api public"," */","","Collection.prototype.remove = function(){","  var router = this.router","    , len = this.length","    , ret = new Collection(this.router);","","  for (var i = 0; i &lt; len; ++i) {","    if (router.remove(this[i])) {","      ret.push(this[i]);","    }","  }","","  return ret;","};",""];
