(gd, args)
| 296 | }; |
| 297 | |
| 298 | function computeAnimateBindings(gd, args) { |
| 299 | // We'll assume that the only relevant modification an animation |
| 300 | // makes that's meaningfully tracked is the frame: |
| 301 | if(Array.isArray(args[0]) && args[0].length === 1 && ['string', 'number'].indexOf(typeof args[0][0]) !== -1) { |
| 302 | return [{type: 'layout', prop: '_currentFrame', value: args[0][0].toString()}]; |
| 303 | } else { |
| 304 | return []; |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | function computeLayoutBindings(gd, args) { |
| 309 | var bindings = []; |
no outgoing calls
no test coverage detected
searching dependent graphs…