Commit 69eb4a68 authored by firedfox's avatar firedfox Committed by Myles Borins
Browse files

tools,doc: fix json for grouped optional params

Current tools/doc/json.js only supports one bracket style for optional
params methodName(param0[,param1],param2). Add support to other styles
such as methodName(param0,[param1,]param2) or
methodName(param0[,param1,param2]) or
methodName(param0[,param1[,param2]]).

PR-URL: https://github.com/nodejs/node/pull/5977
Fixes: https://github.com/nodejs/node/issues/5976


Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarRobert Lindstädt <robert.lindstaedt@gmail.com>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent a2dd8487
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment