(canvas, options)
| 332 | rAF && cancelAnimationFrame(rAF); |
| 333 | } |
| 334 | var init = function(canvas, options) { |
| 335 | canvasObj = canvas; |
| 336 | ctx = canvasObj.getContext('2d'); |
| 337 | var options = $.extend(true, {}, options); |
| 338 | colors = options.colors; |
| 339 | duration = options.duration; |
| 340 | tail_duration = options.tail_duration; |
| 341 | size = options.size; |
| 342 | lineWidth = options.lineWidth; |
| 343 | }; |
| 344 | return { |
| 345 | init: init, |
| 346 | drawArcedArrow: drawArcedArrow, |
nothing calls this directly
no outgoing calls
no test coverage detected