(groups, buttons)
| 325 | } |
| 326 | |
| 327 | function appendButtonsToGroups(groups, buttons) { |
| 328 | if(buttons.length) { |
| 329 | if(Array.isArray(buttons[0])) { |
| 330 | for(var i = 0; i < buttons.length; i++) { |
| 331 | groups.push(buttons[i]); |
| 332 | } |
| 333 | } else groups.push(buttons); |
| 334 | } |
| 335 | |
| 336 | return groups; |
| 337 | } |
| 338 | |
| 339 | // fill in custom buttons referring to default mode bar buttons |
| 340 | function fillCustomButton(originalModeBarButtons) { |
no outgoing calls
no test coverage detected
searching dependent graphs…