()
| 325 | } |
| 326 | |
| 327 | function addGroupControllers() { |
| 328 | groupDragOptions = []; |
| 329 | |
| 330 | if(!polygons.length) return; |
| 331 | |
| 332 | var i = 0; |
| 333 | groupDragOptions[i] = { |
| 334 | element: outlines[0][0], |
| 335 | gd: gd, |
| 336 | prepFn: startDragGroupController, |
| 337 | doneFn: endDragGroupController, |
| 338 | clickFn: clickGroupController |
| 339 | }; |
| 340 | |
| 341 | dragElement.init(groupDragOptions[i]); |
| 342 | } |
| 343 | }; |
| 344 | |
| 345 | function recordPositions(polygonsOut, polygonsIn) { |
no outgoing calls
no test coverage detected
searching dependent graphs…