dist/watchman.js
function paramsParser(url, rule) {
    var matches = rule.regexp.exec(url).slice(1);
    var keys = rule.keys;
    var params = {};

    for (var i = 0; i < keys.length; i++) {
      params[keys[i]] = matches[i];
    }

    return params;
  }
function paramsParser(url, rule) {
    var matches = rule.regexp.exec(url).slice(1);
    var keys = rule.keys;
    var params = {};

    for (var i = 0; i < keys.length; i++) {
      params[keys[i]] = matches[i];
    }

    return params;
  }
function paramsParser ( url , rule ) { var matches = rule . regexp . exec ( url ) . slice ( 1 ) ; var keys = rule . keys ; var params = { } ; for ( var i = 0 ; i < keys . length ; i ++ ) { params [ keys [ i ] ] = matches [ i ] ; } return params ; }
url params parser
@param  {String} url  current url
@param  {Object} rule matched rule
@return {Object}      params
url params parser