greensock-rails 1.15.0.0 → 1.15.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/README.md +1 -1
- data/lib/greensock/rails/version.rb +1 -1
- data/vendor/assets/javascripts/greensock/TimelineLite.js +8 -7
- data/vendor/assets/javascripts/greensock/TimelineMax.js +14 -9
- data/vendor/assets/javascripts/greensock/TweenLite.js +6 -6
- data/vendor/assets/javascripts/greensock/TweenMax.js +135 -99
- data/vendor/assets/javascripts/greensock/easing/EasePack.js +3 -3
- data/vendor/assets/javascripts/greensock/jquery.gsap.js +3 -3
- data/vendor/assets/javascripts/greensock/plugins/AttrPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/BezierPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/CSSPlugin.js +123 -92
- data/vendor/assets/javascripts/greensock/plugins/CSSRulePlugin.js +9 -6
- data/vendor/assets/javascripts/greensock/plugins/ColorPropsPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/DirectionalRotationPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/EaselPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/EndArrayPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/KineticPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/RaphaelPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/RoundPropsPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/ScrollToPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/TEMPLATE_Plugin.js +4 -4
- data/vendor/assets/javascripts/greensock/plugins/TextPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/utils/Draggable.js +18 -10
- metadata +2 -2
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2013-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -1,17 +1,17 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: 1.1.1
|
3
3
|
* DATE: 2014-07-17
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* This file is to be used as a simple template for writing your own plugin. See the
|
7
|
-
*
|
7
|
+
* TweenPlugin docs for more details.
|
8
8
|
*
|
9
9
|
* You can start by doing a search for "yourCustomProperty" and replace it with whatever the name
|
10
10
|
* of your property is. This way of defining a plugin was introduced in version 1.9.0 - previous versions
|
11
11
|
* of TweenLite won't work with this.
|
12
12
|
*
|
13
|
-
* @license Copyright (c) 2008-
|
14
|
-
* This work is subject to the terms at http://
|
13
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
14
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
15
15
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
16
16
|
*
|
17
17
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* DATE: 2014-07-17
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
7
|
-
* This work is subject to the terms at http://
|
6
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
7
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
8
8
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
9
9
|
*
|
10
10
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 0.
|
3
|
-
* DATE:
|
4
|
-
* UPDATES AND DOCS AT: http://
|
2
|
+
* VERSION: 0.11.0
|
3
|
+
* DATE: 2015-01-20
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* Requires TweenLite and CSSPlugin version 1.11.0 or later (TweenMax contains both TweenLite and CSSPlugin). ThrowPropsPlugin is required for momentum-based continuation of movement after the mouse/touch is released (ThrowPropsPlugin is a membership benefit of Club GreenSock - http://www.greensock.com/club/).
|
7
7
|
*
|
8
|
-
* @license Copyright (c) 2008-
|
9
|
-
* This work is subject to the terms at http://
|
8
|
+
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
|
9
|
+
* This work is subject to the terms at http://greensock.com/standard-license or for
|
10
10
|
* Club GreenSock members, the software agreement that was issued with your membership.
|
11
11
|
*
|
12
12
|
* @author: Jack Doyle, jack@greensock.com
|
@@ -808,6 +808,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
808
808
|
yProp = xyMode ? "y" : "top",
|
809
809
|
allowX = (type.indexOf("x") !== -1 || type.indexOf("left") !== -1 || type === "scroll"),
|
810
810
|
allowY = (type.indexOf("y") !== -1 || type.indexOf("top") !== -1 || type === "scroll"),
|
811
|
+
minimumMovement = vars.minimumMovement || 2,
|
811
812
|
self = this,
|
812
813
|
triggers = _slice(vars.trigger || vars.handle || target),
|
813
814
|
killProps = {},
|
@@ -1220,10 +1221,10 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1220
1221
|
}
|
1221
1222
|
yChange = (mouseY - startMouseY);
|
1222
1223
|
xChange = (mouseX - startMouseX);
|
1223
|
-
if (yChange <
|
1224
|
+
if (yChange < minimumMovement && yChange > -minimumMovement) {
|
1224
1225
|
yChange = 0;
|
1225
1226
|
}
|
1226
|
-
if (xChange <
|
1227
|
+
if (xChange < minimumMovement && xChange > -minimumMovement) {
|
1227
1228
|
xChange = 0;
|
1228
1229
|
}
|
1229
1230
|
if (self.lockAxis && (xChange || yChange)) {
|
@@ -1287,7 +1288,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1287
1288
|
self.isPressed = false;
|
1288
1289
|
var originalEvent = e,
|
1289
1290
|
wasDragging = self.isDragging,
|
1290
|
-
touches, i;
|
1291
|
+
touches, i, syntheticEvent;
|
1291
1292
|
if (touchEventTarget) {
|
1292
1293
|
_removeListener(touchEventTarget, "touchend", onRelease);
|
1293
1294
|
_removeListener(touchEventTarget, "touchmove", onMove);
|
@@ -1344,6 +1345,13 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1344
1345
|
}
|
1345
1346
|
_dispatchEvent(self, "release", "onRelease");
|
1346
1347
|
_dispatchEvent(self, "click", "onClick");
|
1348
|
+
if (originalEvent.target.click) { //some browsers (like mobile Safari) don't properly trigger the click event
|
1349
|
+
originalEvent.target.click();
|
1350
|
+
} else if (_doc.createEvent) {
|
1351
|
+
syntheticEvent = _doc.createEvent("MouseEvents");
|
1352
|
+
syntheticEvent.initEvent("click", true, true);
|
1353
|
+
originalEvent.target.dispatchEvent(syntheticEvent);
|
1354
|
+
}
|
1347
1355
|
} else {
|
1348
1356
|
animate(vars.throwProps); //will skip if throwProps isn't defined or ThrowPropsPlugin isn't loaded.
|
1349
1357
|
if (!_isOldIE && originalEvent && (vars.dragClickables || !_isClickable(originalEvent.target)) && wasDragging) {
|
@@ -1443,7 +1451,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1443
1451
|
} else {
|
1444
1452
|
syncXY(true);
|
1445
1453
|
}
|
1446
|
-
if (self.isPressed && (Math.abs(x - self.x) > 0.01 || (Math.abs(y - self.y) > 0.01 && !rotationMode))) {
|
1454
|
+
if (self.isPressed && ((allowX && Math.abs(x - self.x) > 0.01) || (allowY && (Math.abs(y - self.y) > 0.01 && !rotationMode)))) {
|
1447
1455
|
recordStartPositions();
|
1448
1456
|
}
|
1449
1457
|
return self;
|
@@ -1580,7 +1588,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1580
1588
|
p.constructor = Draggable;
|
1581
1589
|
p.pointerX = p.pointerY = 0;
|
1582
1590
|
p.isDragging = p.isPressed = false;
|
1583
|
-
Draggable.version = "0.
|
1591
|
+
Draggable.version = "0.11.0";
|
1584
1592
|
Draggable.zIndex = 1000;
|
1585
1593
|
|
1586
1594
|
_addListener(_doc, "touchcancel", function() {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: greensock-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Pataki, Greensock Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|