greensock-rails 1.18.1.0 → 1.18.2.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 +4 -4
- data/vendor/assets/javascripts/greensock/TimelineMax.js +5 -5
- data/vendor/assets/javascripts/greensock/TweenLite.js +4 -4
- data/vendor/assets/javascripts/greensock/TweenMax.js +8 -8
- data/vendor/assets/javascripts/greensock/easing/EasePack.js +18 -4
- data/vendor/assets/javascripts/greensock/jquery.gsap.js +1 -1
- data/vendor/assets/javascripts/greensock/plugins/AttrPlugin.js +1 -1
- data/vendor/assets/javascripts/greensock/plugins/BezierPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/CSSPlugin.js +4 -4
- data/vendor/assets/javascripts/greensock/plugins/CSSRulePlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/plugins/ColorPropsPlugin.js +1 -1
- 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 +1 -1
- data/vendor/assets/javascripts/greensock/plugins/ScrollToPlugin.js +1 -1
- data/vendor/assets/javascripts/greensock/plugins/TEMPLATE_Plugin.js +1 -1
- data/vendor/assets/javascripts/greensock/plugins/TextPlugin.js +2 -2
- data/vendor/assets/javascripts/greensock/utils/Draggable.js +10 -6
- 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: 9d9af0778a7e7686c7340ce191c2b72a37b28140
|
4
|
+
data.tar.gz: dca79303c2822c35cd73b4df37db59a0012fe63b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64d222b9ec0c55ef93e4b0c75f45ecf08ef3fb13c82c97196ccf5826709979e8f963a6a04ca7af8a501be4a4be77d4d02b409ce5bd09d7aade2ad768c458963f
|
7
|
+
data.tar.gz: bad0d6b7c005b07e90e704483883ad882061026961285dfd93c61e49768759e93d290d3ebf961e4ad4c2e5ab2a88604994202ad49d3ad48440b8a658fa982df9
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.18.
|
3
|
-
* DATE: 2015-12-
|
2
|
+
* VERSION: 1.18.2
|
3
|
+
* DATE: 2015-12-22
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -69,7 +69,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
69
69
|
},
|
70
70
|
p = TimelineLite.prototype = new SimpleTimeline();
|
71
71
|
|
72
|
-
TimelineLite.version = "1.18.
|
72
|
+
TimelineLite.version = "1.18.2";
|
73
73
|
p.constructor = TimelineLite;
|
74
74
|
p.kill()._gc = p._forcingPlayhead = p._hasPause = false;
|
75
75
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.18.
|
3
|
-
* DATE: 2015-12-
|
2
|
+
* VERSION: 1.18.2
|
3
|
+
* DATE: 2015-12-22
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -33,7 +33,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
33
33
|
|
34
34
|
p.constructor = TimelineMax;
|
35
35
|
p.kill()._gc = false;
|
36
|
-
TimelineMax.version = "1.18.
|
36
|
+
TimelineMax.version = "1.18.2";
|
37
37
|
|
38
38
|
p.invalidate = function() {
|
39
39
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -573,7 +573,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
573
573
|
},
|
574
574
|
p = TimelineLite.prototype = new SimpleTimeline();
|
575
575
|
|
576
|
-
TimelineLite.version = "1.18.
|
576
|
+
TimelineLite.version = "1.18.2";
|
577
577
|
p.constructor = TimelineLite;
|
578
578
|
p.kill()._gc = p._forcingPlayhead = p._hasPause = false;
|
579
579
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.18.
|
3
|
-
* DATE: 2015-12-
|
2
|
+
* VERSION: 1.18.2
|
3
|
+
* DATE: 2015-12-22
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -925,7 +925,7 @@
|
|
925
925
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
926
926
|
p._notifyPluginsOfEnabled = p._lazy = false;
|
927
927
|
|
928
|
-
TweenLite.version = "1.18.
|
928
|
+
TweenLite.version = "1.18.2";
|
929
929
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
930
930
|
TweenLite.defaultOverwrite = "auto";
|
931
931
|
TweenLite.ticker = _ticker;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.18.
|
3
|
-
* DATE: 2015-12-
|
2
|
+
* VERSION: 1.18.2
|
3
|
+
* DATE: 2015-12-22
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
|
7
7
|
*
|
8
|
-
* @license Copyright (c) 2008-
|
8
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
9
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
|
*
|
@@ -50,7 +50,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
50
50
|
p = TweenMax.prototype = TweenLite.to({}, 0.1, {}),
|
51
51
|
_blankArray = [];
|
52
52
|
|
53
|
-
TweenMax.version = "1.18.
|
53
|
+
TweenMax.version = "1.18.2";
|
54
54
|
p.constructor = TweenMax;
|
55
55
|
p.kill()._gc = false;
|
56
56
|
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
|
@@ -684,7 +684,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
684
684
|
},
|
685
685
|
p = TimelineLite.prototype = new SimpleTimeline();
|
686
686
|
|
687
|
-
TimelineLite.version = "1.18.
|
687
|
+
TimelineLite.version = "1.18.2";
|
688
688
|
p.constructor = TimelineLite;
|
689
689
|
p.kill()._gc = p._forcingPlayhead = p._hasPause = false;
|
690
690
|
|
@@ -1410,7 +1410,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1410
1410
|
|
1411
1411
|
p.constructor = TimelineMax;
|
1412
1412
|
p.kill()._gc = false;
|
1413
|
-
TimelineMax.version = "1.18.
|
1413
|
+
TimelineMax.version = "1.18.2";
|
1414
1414
|
|
1415
1415
|
p.invalidate = function() {
|
1416
1416
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -2503,7 +2503,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
2503
2503
|
p = CSSPlugin.prototype = new TweenPlugin("css");
|
2504
2504
|
|
2505
2505
|
p.constructor = CSSPlugin;
|
2506
|
-
CSSPlugin.version = "1.18.
|
2506
|
+
CSSPlugin.version = "1.18.2";
|
2507
2507
|
CSSPlugin.API = 2;
|
2508
2508
|
CSSPlugin.defaultTransformPerspective = 0;
|
2509
2509
|
CSSPlugin.defaultSkewType = "compensated";
|
@@ -6618,7 +6618,7 @@ if (_gsScope._gsDefine) { _gsScope._gsQueue.pop()(); } //necessary in case Tween
|
|
6618
6618
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
6619
6619
|
p._notifyPluginsOfEnabled = p._lazy = false;
|
6620
6620
|
|
6621
|
-
TweenLite.version = "1.18.
|
6621
|
+
TweenLite.version = "1.18.2";
|
6622
6622
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
6623
6623
|
TweenLite.defaultOverwrite = "auto";
|
6624
6624
|
TweenLite.ticker = _ticker;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION:
|
3
|
-
* DATE: 2015-
|
2
|
+
* VERSION: 1.15.3
|
3
|
+
* DATE: 2015-12-22
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -342,4 +342,18 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
342
342
|
|
343
343
|
}, true);
|
344
344
|
|
345
|
-
}); if (_gsScope._gsDefine) { _gsScope._gsQueue.pop()(); }
|
345
|
+
}); if (_gsScope._gsDefine) { _gsScope._gsQueue.pop()(); }
|
346
|
+
|
347
|
+
//export to AMD/RequireJS and CommonJS/Node (precursor to full modular build system coming at a later date)
|
348
|
+
(function() {
|
349
|
+
"use strict";
|
350
|
+
var getGlobal = function() {
|
351
|
+
return (_gsScope.GreenSockGlobals || _gsScope);
|
352
|
+
};
|
353
|
+
if (typeof(define) === "function" && define.amd) { //AMD
|
354
|
+
define(["TweenLite"], getGlobal);
|
355
|
+
} else if (typeof(module) !== "undefined" && module.exports) { //node
|
356
|
+
require("../TweenLite.js");
|
357
|
+
module.exports = getGlobal();
|
358
|
+
}
|
359
|
+
}());
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*
|
6
6
|
* Requires TweenLite version 1.8.0 or higher and CSSPlugin.
|
7
7
|
*
|
8
|
-
* @license Copyright (c) 2013-
|
8
|
+
* @license Copyright (c) 2013-2016, GreenSock. All rights reserved.
|
9
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
|
*
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* DATE: 2015-08-29
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: beta 1.3.4
|
3
3
|
* DATE: 2014-11-15
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.18.
|
3
|
-
* DATE: 2015-12-
|
2
|
+
* VERSION: 1.18.2
|
3
|
+
* DATE: 2015-12-22
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -31,7 +31,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
31
31
|
p = CSSPlugin.prototype = new TweenPlugin("css");
|
32
32
|
|
33
33
|
p.constructor = CSSPlugin;
|
34
|
-
CSSPlugin.version = "1.18.
|
34
|
+
CSSPlugin.version = "1.18.2";
|
35
35
|
CSSPlugin.API = 2;
|
36
36
|
CSSPlugin.defaultTransformPerspective = 0;
|
37
37
|
CSSPlugin.defaultSkewType = "compensated";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: beta 0.6.3
|
3
3
|
* DATE: 2014-12-31
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* DATE: 2015-11-04
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: beta 0.2.1
|
3
3
|
* DATE: 2014-07-17
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: 0.1.6
|
3
3
|
* DATE: 2014-07-17
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: 0.1.2
|
3
3
|
* DATE: 2014-07-17
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: 0.5.2
|
3
3
|
* DATE: 2014-07-17
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: 0.2.2
|
3
3
|
* DATE: 2014-07-17
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* DATE: 2015-08-28
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* DATE: 2015-12-10
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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,7 +10,7 @@
|
|
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-
|
13
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
14
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
|
*
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* VERSION: 0.5.1
|
3
3
|
* DATE: 2014-07-17
|
4
|
-
* UPDATES AND DOCS AT: http://
|
4
|
+
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
|
-
* @license Copyright (c) 2008-
|
6
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
7
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
|
*
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 0.14.
|
3
|
-
* DATE: 2015-12-
|
2
|
+
* VERSION: 0.14.3
|
3
|
+
* DATE: 2015-12-19
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* Requires TweenLite and CSSPlugin version 1.17.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://greensock.com/club/).
|
7
7
|
*
|
8
|
-
* @license Copyright (c) 2008-
|
8
|
+
* @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
|
9
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
|
*
|
@@ -1726,7 +1726,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1726
1726
|
}
|
1727
1727
|
}
|
1728
1728
|
dirty = true; //a flag that indicates we need to render the target next time the TweenLite.ticker dispatches a "tick" event (typically on a requestAnimationFrame) - this is a performance optimization (we shouldn't render on every move because sometimes many move events can get dispatched between screen refreshes, and that'd be wasteful to render every time)
|
1729
|
-
if (!self.isDragging) {
|
1729
|
+
if (!self.isDragging && self.isPressed) {
|
1730
1730
|
self.isDragging = true;
|
1731
1731
|
_dispatchEvent(self, "dragstart", "onDragStart");
|
1732
1732
|
}
|
@@ -1925,7 +1925,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1925
1925
|
|
1926
1926
|
|
1927
1927
|
this.applyBounds = function(newBounds) {
|
1928
|
-
var x, y;
|
1928
|
+
var x, y, forceZeroVelocity;
|
1929
1929
|
if (newBounds && vars.bounds !== newBounds) {
|
1930
1930
|
vars.bounds = newBounds;
|
1931
1931
|
return self.update(true);
|
@@ -1948,6 +1948,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1948
1948
|
}
|
1949
1949
|
}
|
1950
1950
|
if (self.x !== x || self.y !== y) {
|
1951
|
+
forceZeroVelocity = true;
|
1951
1952
|
self.x = self.endX = x;
|
1952
1953
|
if (rotationMode) {
|
1953
1954
|
self.endRotation = x;
|
@@ -1957,6 +1958,9 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1957
1958
|
dirty = true;
|
1958
1959
|
render();
|
1959
1960
|
}
|
1961
|
+
if (self.isThrowing && (forceZeroVelocity || self.endX > maxX || self.endX < minX || self.endY > maxY || self.endY < minY)) {
|
1962
|
+
animate(vars.throwProps, forceZeroVelocity);
|
1963
|
+
}
|
1960
1964
|
}
|
1961
1965
|
return self;
|
1962
1966
|
};
|
@@ -2122,7 +2126,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
2122
2126
|
p.constructor = Draggable;
|
2123
2127
|
p.pointerX = p.pointerY = 0;
|
2124
2128
|
p.isDragging = p.isPressed = false;
|
2125
|
-
Draggable.version = "0.14.
|
2129
|
+
Draggable.version = "0.14.3";
|
2126
2130
|
Draggable.zIndex = 1000;
|
2127
2131
|
|
2128
2132
|
_addListener(_doc, "touchcancel", function() {
|