(options, all)
| 144 | } |
| 145 | |
| 146 | function getOpts(options, all) { |
| 147 | if (!all && options === false) { |
| 148 | return null; |
| 149 | } |
| 150 | if (options === true) { |
| 151 | return {}; |
| 152 | } |
| 153 | return options; |
| 154 | } |
| 155 | |
| 156 | function createDescriptors(chart, {plugins, localIds}, options, all) { |
| 157 | const result = []; |