()
| 167 | /*-----------------------------------------*/ |
| 168 | |
| 169 | function updateFocusPoint(){ |
| 170 | /*-----------------------------------------*/ |
| 171 | // See note in setImage() function regarding these attribute assignments. |
| 172 | //TLDR - You don't need them for this to work. |
| 173 | /*-----------------------------------------*/ |
| 174 | $focusPointContainers.attr({ |
| 175 | 'data-focus-x': focusPointAttr.x, |
| 176 | 'data-focus-y': focusPointAttr.y |
| 177 | }); |
| 178 | /*-----------------------------------------*/ |
| 179 | // These you DO need :) |
| 180 | /*-----------------------------------------*/ |
| 181 | $focusPointContainers.data('focusX', focusPointAttr.x); |
| 182 | $focusPointContainers.data('focusY', focusPointAttr.y); |
| 183 | $focusPointContainers.adjustFocus(); |
| 184 | }; |
| 185 | }); |
| 186 | }(jQuery)); |
no outgoing calls
no test coverage detected