Skip to content
Myr

Docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 69bfe80 · Browse files · 1 file+9 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−0 removed

  • other:+9 added−0 removed

1 file+9 added−0 removed

modified:lib/express.core.js+9 added
130 unmodified lines
131 param : function(key, defaultValue) {132 return this.request.uri.params[key] || defaultValue133 },134 135 /**136 * Parse _params_, splitting { user[info][name] : 'tj' } into137 * { user : { info : { name : 'tj' }}}138 *139 * @param {hash} params140 * @return {hash}141 * @api public142 */143 144 parseNestedParams : function(params) {145 for (var key in params)146 if (params.hasOwnProperty(key))147 if (parts = key.split('['))
273 unmodified lines