diff options
author | firedfox <wangyang0123@gmail.com> | 2016-03-31 23:39:02 +0800 |
---|---|---|
committer | silverwind <me@silverwind.io> | 2016-04-09 18:40:26 +0200 |
commit | 6222e5b76d0f37fe8b5049bd23ca0271cab1821e (patch) | |
tree | 3156624296a831316b2c9264a392527ba5f7fd9b /tools/eslint/lib/rules/no-self-compare.js | |
parent | 05d0e9e6a3ae7ed293ea46d0e978eb35a2b5107f (diff) | |
download | node-new-6222e5b76d0f37fe8b5049bd23ca0271cab1821e.tar.gz |
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: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'tools/eslint/lib/rules/no-self-compare.js')
0 files changed, 0 insertions, 0 deletions