(plugin, target, property, rawPath, pathProperty, forceUnit)
| 198 | return rawPath; |
| 199 | }, |
| 200 | _addDimensionalPropTween = function _addDimensionalPropTween(plugin, target, property, rawPath, pathProperty, forceUnit) { |
| 201 | var cache = target._gsap, |
| 202 | harness = cache.harness, |
| 203 | alias = harness && harness.aliases && harness.aliases[property], |
| 204 | prop = alias && alias.indexOf(",") < 0 ? alias : property, |
| 205 | pt = plugin._pt = new PropTween(plugin._pt, target, prop, 0, 0, _emptyFunc, 0, cache.set(target, prop, plugin)); |
| 206 | pt.u = _getUnit(cache.get(target, prop, forceUnit)) || 0; |
| 207 | pt.path = rawPath; |
| 208 | pt.pp = pathProperty; |
| 209 | |
| 210 | plugin._props.push(prop); |
| 211 | }, |
| 212 | _sliceModifier = function _sliceModifier(start, end) { |
| 213 | return function (rawPath) { |
| 214 | return start || end !== 1 ? sliceRawPath(rawPath, start, end) : rawPath; |
no test coverage detected
searching dependent graphs…