greensock-rails 1.14.0.0 → 1.14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/greensock/rails/version.rb +1 -1
- data/vendor/assets/javascripts/greensock/TimelineLite.js +3 -3
- data/vendor/assets/javascripts/greensock/TimelineMax.js +4 -4
- data/vendor/assets/javascripts/greensock/TweenLite.js +3 -3
- data/vendor/assets/javascripts/greensock/TweenMax.js +19 -12
- data/vendor/assets/javascripts/greensock/plugins/CSSPlugin.js +15 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15a2398085a69b424b9862810277b795086aa118
|
4
|
+
data.tar.gz: 882e4f02bdf0482f98a04a20ed5d896cfab2273e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3388e4bee53ab2491fe702c4913d2dc158abaf310d6c8bafc5d3dc0f00994dbb45d7928821011540fab9fb127a5c8707a91046bd7f2271951c72b40df49f838b
|
7
|
+
data.tar.gz: 3fa4eb7940c62dba1b57376b225e3f08145c44720c79addffbde32000ab22a7b501e612ffd263e8cbe092778be242e6dcb6c342fd6074971062f48e13050a292
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.14.
|
3
|
-
* DATE: 2014-10-
|
2
|
+
* VERSION: 1.14.1
|
3
|
+
* DATE: 2014-10-16
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -71,7 +71,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
71
71
|
},
|
72
72
|
p = TimelineLite.prototype = new SimpleTimeline();
|
73
73
|
|
74
|
-
TimelineLite.version = "1.14.
|
74
|
+
TimelineLite.version = "1.14.1";
|
75
75
|
p.constructor = TimelineLite;
|
76
76
|
p.kill()._gc = p._forcingPlayhead = false;
|
77
77
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.14.
|
3
|
-
* DATE: 2014-10-
|
2
|
+
* VERSION: 1.14.1
|
3
|
+
* DATE: 2014-10-16
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -34,7 +34,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
34
34
|
|
35
35
|
p.constructor = TimelineMax;
|
36
36
|
p.kill()._gc = false;
|
37
|
-
TimelineMax.version = "1.14.
|
37
|
+
TimelineMax.version = "1.14.1";
|
38
38
|
|
39
39
|
p.invalidate = function() {
|
40
40
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -518,7 +518,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
518
518
|
},
|
519
519
|
p = TimelineLite.prototype = new SimpleTimeline();
|
520
520
|
|
521
|
-
TimelineLite.version = "1.14.
|
521
|
+
TimelineLite.version = "1.14.1";
|
522
522
|
p.constructor = TimelineLite;
|
523
523
|
p.kill()._gc = p._forcingPlayhead = false;
|
524
524
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.14.
|
3
|
-
* DATE: 2014-10-
|
2
|
+
* VERSION: 1.14.1
|
3
|
+
* DATE: 2014-10-16
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -910,7 +910,7 @@
|
|
910
910
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
911
911
|
p._notifyPluginsOfEnabled = p._lazy = false;
|
912
912
|
|
913
|
-
TweenLite.version = "1.14.
|
913
|
+
TweenLite.version = "1.14.1";
|
914
914
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
915
915
|
TweenLite.defaultOverwrite = "auto";
|
916
916
|
TweenLite.ticker = _ticker;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.14.
|
3
|
-
* DATE: 2014-10-
|
2
|
+
* VERSION: 1.14.1
|
3
|
+
* DATE: 2014-10-16
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
|
@@ -41,7 +41,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
41
41
|
p = TweenMax.prototype = TweenLite.to({}, 0.1, {}),
|
42
42
|
_blankArray = [];
|
43
43
|
|
44
|
-
TweenMax.version = "1.14.
|
44
|
+
TweenMax.version = "1.14.1";
|
45
45
|
p.constructor = TweenMax;
|
46
46
|
p.kill()._gc = false;
|
47
47
|
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
|
@@ -657,7 +657,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
657
657
|
},
|
658
658
|
p = TimelineLite.prototype = new SimpleTimeline();
|
659
659
|
|
660
|
-
TimelineLite.version = "1.14.
|
660
|
+
TimelineLite.version = "1.14.1";
|
661
661
|
p.constructor = TimelineLite;
|
662
662
|
p.kill()._gc = p._forcingPlayhead = false;
|
663
663
|
|
@@ -1308,7 +1308,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1308
1308
|
|
1309
1309
|
p.constructor = TimelineMax;
|
1310
1310
|
p.kill()._gc = false;
|
1311
|
-
TimelineMax.version = "1.14.
|
1311
|
+
TimelineMax.version = "1.14.1";
|
1312
1312
|
|
1313
1313
|
p.invalidate = function() {
|
1314
1314
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -2341,7 +2341,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
2341
2341
|
p = CSSPlugin.prototype = new TweenPlugin("css");
|
2342
2342
|
|
2343
2343
|
p.constructor = CSSPlugin;
|
2344
|
-
CSSPlugin.version = "1.14.
|
2344
|
+
CSSPlugin.version = "1.14.1";
|
2345
2345
|
CSSPlugin.API = 2;
|
2346
2346
|
CSSPlugin.defaultTransformPerspective = 0;
|
2347
2347
|
CSSPlugin.defaultSkewType = "compensated";
|
@@ -3781,14 +3781,14 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
3781
3781
|
a24 = a23*a34;
|
3782
3782
|
a34 = a33*a34+zOrigin;
|
3783
3783
|
}
|
3784
|
-
//we round the x, y, and z slightly differently to allow even larger values.
|
3785
|
-
a14 = (t1 = (a14 += x) - (a14 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a14 : a14;
|
3786
|
-
a24 = (t1 = (a24 += y) - (a24 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a24 : a24;
|
3787
|
-
a34 = (t1 = (a34 += z) - (a34 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a34 : a34;
|
3788
3784
|
if (t.svg) { //due to bugs in some browsers, we need to manage the transform-origin of SVG manually
|
3789
3785
|
a14 += t.xOrigin - (t.xOrigin * a11 + t.yOrigin * a12);
|
3790
3786
|
a24 += t.yOrigin - (t.xOrigin * a21 + t.yOrigin * a22);
|
3791
3787
|
}
|
3788
|
+
//we round the x, y, and z slightly differently to allow even larger values.
|
3789
|
+
a14 = (t1 = (a14 += x) - (a14 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a14 : a14;
|
3790
|
+
a24 = (t1 = (a24 += y) - (a24 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a24 : a24;
|
3791
|
+
a34 = (t1 = (a34 += z) - (a34 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a34 : a34;
|
3792
3792
|
style[_transformProp] = ((t.xPercent || t.yPercent) ? "translate(" + t.xPercent + "%," + t.yPercent + "%) matrix3d(" : "matrix3d(") + [ (((a11 * rnd) | 0) / rnd), (((a21 * rnd) | 0) / rnd), (((a31 * rnd) | 0) / rnd), (((a41 * rnd) | 0) / rnd), (((a12 * rnd) | 0) / rnd), (((a22 * rnd) | 0) / rnd), (((a32 * rnd) | 0) / rnd), (((a42 * rnd) | 0) / rnd), (((a13 * rnd) | 0) / rnd), (((a23 * rnd) | 0) / rnd), (((a33 * rnd) | 0) / rnd), (((a43 * rnd) | 0) / rnd), a14, a24, a34, (perspective ? (1 + (-a34 / perspective)) : 1) ].join(",") + ")";
|
3793
3793
|
},
|
3794
3794
|
|
@@ -3798,7 +3798,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
3798
3798
|
style = targ.style,
|
3799
3799
|
x = t.x,
|
3800
3800
|
y = t.y,
|
3801
|
-
ang, skew, rnd, sx, sy, a, b, c, d, matrix;
|
3801
|
+
ang, skew, rnd, sx, sy, a, b, c, d, matrix, min;
|
3802
3802
|
if ((t.rotationX || t.rotationY || t.z || t.force3D === true || (t.force3D === "auto" && v !== 1 && v !== 0)) && !(t.svg && _forceSVGTransformToAttr) && _supports3D) { //if a 3D tween begins while a 2D one is running, we need to kick the rendering over to the 3D method. For example, imagine a yoyo-ing, infinitely repeating scale tween running, and then the object gets rotated in 3D space with a different tween.
|
3803
3803
|
this.setRatio = _set3DTransformRatio;
|
3804
3804
|
_set3DTransformRatio.call(this, v);
|
@@ -3817,6 +3817,13 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
3817
3817
|
if (t.svg) {
|
3818
3818
|
x += t.xOrigin - (t.xOrigin * a + t.yOrigin * c);
|
3819
3819
|
y += t.yOrigin - (t.xOrigin * b + t.yOrigin * d);
|
3820
|
+
min = 0.000001;
|
3821
|
+
if (x < min) if (x > -min) {
|
3822
|
+
x = 0;
|
3823
|
+
}
|
3824
|
+
if (y < min) if (y > -min) {
|
3825
|
+
y = 0;
|
3826
|
+
}
|
3820
3827
|
}
|
3821
3828
|
matrix = (((a * rnd) | 0) / rnd) + "," + (((b * rnd) | 0) / rnd) + "," + (((c * rnd) | 0) / rnd) + "," + (((d * rnd) | 0) / rnd) + "," + x + "," + y + ")";
|
3822
3829
|
if (t.svg && _forceSVGTransformToAttr) {
|
@@ -6165,7 +6172,7 @@ if (_gsScope._gsDefine) { _gsScope._gsQueue.pop()(); } //necessary in case Tween
|
|
6165
6172
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
6166
6173
|
p._notifyPluginsOfEnabled = p._lazy = false;
|
6167
6174
|
|
6168
|
-
TweenLite.version = "1.14.
|
6175
|
+
TweenLite.version = "1.14.1";
|
6169
6176
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
6170
6177
|
TweenLite.defaultOverwrite = "auto";
|
6171
6178
|
TweenLite.ticker = _ticker;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.14.
|
3
|
-
* DATE: 2014-10-
|
2
|
+
* VERSION: 1.14.1
|
3
|
+
* DATE: 2014-10-16
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -30,7 +30,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
30
30
|
p = CSSPlugin.prototype = new TweenPlugin("css");
|
31
31
|
|
32
32
|
p.constructor = CSSPlugin;
|
33
|
-
CSSPlugin.version = "1.14.
|
33
|
+
CSSPlugin.version = "1.14.1";
|
34
34
|
CSSPlugin.API = 2;
|
35
35
|
CSSPlugin.defaultTransformPerspective = 0;
|
36
36
|
CSSPlugin.defaultSkewType = "compensated";
|
@@ -1470,14 +1470,14 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1470
1470
|
a24 = a23*a34;
|
1471
1471
|
a34 = a33*a34+zOrigin;
|
1472
1472
|
}
|
1473
|
-
//we round the x, y, and z slightly differently to allow even larger values.
|
1474
|
-
a14 = (t1 = (a14 += x) - (a14 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a14 : a14;
|
1475
|
-
a24 = (t1 = (a24 += y) - (a24 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a24 : a24;
|
1476
|
-
a34 = (t1 = (a34 += z) - (a34 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a34 : a34;
|
1477
1473
|
if (t.svg) { //due to bugs in some browsers, we need to manage the transform-origin of SVG manually
|
1478
1474
|
a14 += t.xOrigin - (t.xOrigin * a11 + t.yOrigin * a12);
|
1479
1475
|
a24 += t.yOrigin - (t.xOrigin * a21 + t.yOrigin * a22);
|
1480
1476
|
}
|
1477
|
+
//we round the x, y, and z slightly differently to allow even larger values.
|
1478
|
+
a14 = (t1 = (a14 += x) - (a14 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a14 : a14;
|
1479
|
+
a24 = (t1 = (a24 += y) - (a24 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a24 : a24;
|
1480
|
+
a34 = (t1 = (a34 += z) - (a34 |= 0)) ? ((t1 * rnd + (t1 < 0 ? -0.5 : 0.5)) | 0) / rnd + a34 : a34;
|
1481
1481
|
style[_transformProp] = ((t.xPercent || t.yPercent) ? "translate(" + t.xPercent + "%," + t.yPercent + "%) matrix3d(" : "matrix3d(") + [ (((a11 * rnd) | 0) / rnd), (((a21 * rnd) | 0) / rnd), (((a31 * rnd) | 0) / rnd), (((a41 * rnd) | 0) / rnd), (((a12 * rnd) | 0) / rnd), (((a22 * rnd) | 0) / rnd), (((a32 * rnd) | 0) / rnd), (((a42 * rnd) | 0) / rnd), (((a13 * rnd) | 0) / rnd), (((a23 * rnd) | 0) / rnd), (((a33 * rnd) | 0) / rnd), (((a43 * rnd) | 0) / rnd), a14, a24, a34, (perspective ? (1 + (-a34 / perspective)) : 1) ].join(",") + ")";
|
1482
1482
|
},
|
1483
1483
|
|
@@ -1487,7 +1487,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1487
1487
|
style = targ.style,
|
1488
1488
|
x = t.x,
|
1489
1489
|
y = t.y,
|
1490
|
-
ang, skew, rnd, sx, sy, a, b, c, d, matrix;
|
1490
|
+
ang, skew, rnd, sx, sy, a, b, c, d, matrix, min;
|
1491
1491
|
if ((t.rotationX || t.rotationY || t.z || t.force3D === true || (t.force3D === "auto" && v !== 1 && v !== 0)) && !(t.svg && _forceSVGTransformToAttr) && _supports3D) { //if a 3D tween begins while a 2D one is running, we need to kick the rendering over to the 3D method. For example, imagine a yoyo-ing, infinitely repeating scale tween running, and then the object gets rotated in 3D space with a different tween.
|
1492
1492
|
this.setRatio = _set3DTransformRatio;
|
1493
1493
|
_set3DTransformRatio.call(this, v);
|
@@ -1506,6 +1506,13 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1506
1506
|
if (t.svg) {
|
1507
1507
|
x += t.xOrigin - (t.xOrigin * a + t.yOrigin * c);
|
1508
1508
|
y += t.yOrigin - (t.xOrigin * b + t.yOrigin * d);
|
1509
|
+
min = 0.000001;
|
1510
|
+
if (x < min) if (x > -min) {
|
1511
|
+
x = 0;
|
1512
|
+
}
|
1513
|
+
if (y < min) if (y > -min) {
|
1514
|
+
y = 0;
|
1515
|
+
}
|
1509
1516
|
}
|
1510
1517
|
matrix = (((a * rnd) | 0) / rnd) + "," + (((b * rnd) | 0) / rnd) + "," + (((c * rnd) | 0) / rnd) + "," + (((d * rnd) | 0) / rnd) + "," + x + "," + y + ")";
|
1511
1518
|
if (t.svg && _forceSVGTransformToAttr) {
|