greensock-rails 1.11.6.0 → 1.11.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/greensock/rails/version.rb +1 -1
- data/vendor/assets/javascripts/greensock/TimelineLite.js +9 -6
- data/vendor/assets/javascripts/greensock/TimelineMax.js +10 -7
- data/vendor/assets/javascripts/greensock/TweenLite.js +4 -4
- data/vendor/assets/javascripts/greensock/TweenMax.js +36 -21
- data/vendor/assets/javascripts/greensock/jquery.gsap.js +31 -23
- data/vendor/assets/javascripts/greensock/plugins/BezierPlugin.js +4 -4
- data/vendor/assets/javascripts/greensock/plugins/CSSPlugin.js +22 -11
- data/vendor/assets/javascripts/greensock/plugins/EaselPlugin.js +4 -3
- data/vendor/assets/javascripts/greensock/plugins/EndArrayPlugin.js +4 -5
- data/vendor/assets/javascripts/greensock/plugins/RaphaelPlugin.js +4 -3
- data/vendor/assets/javascripts/greensock/utils/Draggable.js +30 -17
- metadata +8 -52
- data/vendor/bundle/cache/rake-10.2.2.gem +0 -0
- data/vendor/bundle/gems/rake-10.2.2/doc/command_line_usage.rdoc +0 -158
- data/vendor/bundle/gems/rake-10.2.2/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/gems/rake-10.2.2/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/gems/rake-10.2.2/doc/example/a.c +0 -6
- data/vendor/bundle/gems/rake-10.2.2/doc/example/b.c +0 -6
- data/vendor/bundle/gems/rake-10.2.2/doc/example/main.c +0 -11
- data/vendor/bundle/gems/rake-10.2.2/doc/glossary.rdoc +0 -51
- data/vendor/bundle/gems/rake-10.2.2/doc/jamis.rb +0 -591
- data/vendor/bundle/gems/rake-10.2.2/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/gems/rake-10.2.2/doc/rake.1.gz +0 -0
- data/vendor/bundle/gems/rake-10.2.2/doc/rakefile.rdoc +0 -653
- data/vendor/bundle/gems/rake-10.2.2/doc/rational.rdoc +0 -151
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.4.14.rdoc +0 -23
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.4.15.rdoc +0 -35
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.5.0.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.5.3.rdoc +0 -78
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.5.4.rdoc +0 -46
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.6.0.rdoc +0 -141
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.0.rdoc +0 -119
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.1.rdoc +0 -59
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.2.rdoc +0 -121
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.3.rdoc +0 -47
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.0.rdoc +0 -114
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.2.rdoc +0 -165
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.3.rdoc +0 -112
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.4.rdoc +0 -147
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.5.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.6.rdoc +0 -37
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.7.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.0.rdoc +0 -112
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.1.rdoc +0 -52
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.2.rdoc +0 -49
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.3.rdoc +0 -102
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.4.rdoc +0 -60
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.5.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.6.rdoc +0 -64
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.0.rdoc +0 -178
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.1.rdoc +0 -58
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.2.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.3.rdoc +0 -191
- data/vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.1.0.rdoc +0 -61
- data/vendor/cache/rake-10.2.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 897403c83ec26b5027e7d4d5a8c18dafca6c9deb
|
4
|
+
data.tar.gz: a41d96105552e46b4bb42d84bd56bd08f8d5b92d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1edd4a07821aaf4c09f7edcec8f8b99666fc9cc3626079b24602d923494de12d1746f9135f9564367c41c6c32be9ce877c8e3f018aa390d937477fa3a696f57c
|
7
|
+
data.tar.gz: 0846166b2e8e4591b885b2f84afb5d5fec2692669e1accd4aeaed5628e983215a37e2e88a66904f764a36d26f84e672685accc859cf46d4e95179c85696e2c50
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.11.
|
3
|
-
* DATE: 2014-
|
2
|
+
* VERSION: 1.11.7
|
3
|
+
* DATE: 2014-04-29
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -39,6 +39,7 @@
|
|
39
39
|
_isSelector = TweenLite._internals.isSelector,
|
40
40
|
_isArray = TweenLite._internals.isArray,
|
41
41
|
_blankArray = [],
|
42
|
+
_globals = window._gsDefine.globals,
|
42
43
|
_copy = function(vars) {
|
43
44
|
var copy = {}, p;
|
44
45
|
for (p in vars) {
|
@@ -55,20 +56,22 @@
|
|
55
56
|
_slice = _blankArray.slice,
|
56
57
|
p = TimelineLite.prototype = new SimpleTimeline();
|
57
58
|
|
58
|
-
TimelineLite.version = "1.11.
|
59
|
+
TimelineLite.version = "1.11.7";
|
59
60
|
p.constructor = TimelineLite;
|
60
61
|
p.kill()._gc = false;
|
61
62
|
|
62
63
|
p.to = function(target, duration, vars, position) {
|
63
|
-
|
64
|
+
var Engine = (vars.repeat && _globals.TweenMax) || TweenLite;
|
65
|
+
return duration ? this.add( new Engine(target, duration, vars), position) : this.set(target, vars, position);
|
64
66
|
};
|
65
67
|
|
66
68
|
p.from = function(target, duration, vars, position) {
|
67
|
-
return this.add( TweenLite.from(target, duration, vars), position);
|
69
|
+
return this.add( ((vars.repeat && _globals.TweenMax) || TweenLite).from(target, duration, vars), position);
|
68
70
|
};
|
69
71
|
|
70
72
|
p.fromTo = function(target, duration, fromVars, toVars, position) {
|
71
|
-
|
73
|
+
var Engine = (toVars.repeat && _globals.TweenMax) || TweenLite;
|
74
|
+
return duration ? this.add( Engine.fromTo(target, duration, fromVars, toVars), position) : this.set(target, toVars, position);
|
72
75
|
};
|
73
76
|
|
74
77
|
p.staggerTo = function(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams, onCompleteAllScope) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.11.
|
3
|
-
* DATE: 2014-
|
2
|
+
* VERSION: 1.11.7
|
3
|
+
* DATE: 2014-04-29
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -31,7 +31,7 @@
|
|
31
31
|
|
32
32
|
p.constructor = TimelineMax;
|
33
33
|
p.kill()._gc = false;
|
34
|
-
TimelineMax.version = "1.11.
|
34
|
+
TimelineMax.version = "1.11.7";
|
35
35
|
|
36
36
|
p.invalidate = function() {
|
37
37
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -478,6 +478,7 @@
|
|
478
478
|
_isSelector = TweenLite._internals.isSelector,
|
479
479
|
_isArray = TweenLite._internals.isArray,
|
480
480
|
_blankArray = [],
|
481
|
+
_globals = window._gsDefine.globals,
|
481
482
|
_copy = function(vars) {
|
482
483
|
var copy = {}, p;
|
483
484
|
for (p in vars) {
|
@@ -494,20 +495,22 @@
|
|
494
495
|
_slice = _blankArray.slice,
|
495
496
|
p = TimelineLite.prototype = new SimpleTimeline();
|
496
497
|
|
497
|
-
TimelineLite.version = "1.11.
|
498
|
+
TimelineLite.version = "1.11.7";
|
498
499
|
p.constructor = TimelineLite;
|
499
500
|
p.kill()._gc = false;
|
500
501
|
|
501
502
|
p.to = function(target, duration, vars, position) {
|
502
|
-
|
503
|
+
var Engine = (vars.repeat && _globals.TweenMax) || TweenLite;
|
504
|
+
return duration ? this.add( new Engine(target, duration, vars), position) : this.set(target, vars, position);
|
503
505
|
};
|
504
506
|
|
505
507
|
p.from = function(target, duration, vars, position) {
|
506
|
-
return this.add( TweenLite.from(target, duration, vars), position);
|
508
|
+
return this.add( ((vars.repeat && _globals.TweenMax) || TweenLite).from(target, duration, vars), position);
|
507
509
|
};
|
508
510
|
|
509
511
|
p.fromTo = function(target, duration, fromVars, toVars, position) {
|
510
|
-
|
512
|
+
var Engine = (toVars.repeat && _globals.TweenMax) || TweenLite;
|
513
|
+
return duration ? this.add( Engine.fromTo(target, duration, fromVars, toVars), position) : this.set(target, toVars, position);
|
511
514
|
};
|
512
515
|
|
513
516
|
p.staggerTo = function(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams, onCompleteAllScope) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.11.
|
3
|
-
* DATE: 2014-
|
2
|
+
* VERSION: 1.11.7
|
3
|
+
* DATE: 2014-04-29
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -872,7 +872,7 @@
|
|
872
872
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
873
873
|
p._notifyPluginsOfEnabled = false;
|
874
874
|
|
875
|
-
TweenLite.version = "1.11.
|
875
|
+
TweenLite.version = "1.11.7";
|
876
876
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
877
877
|
TweenLite.defaultOverwrite = "auto";
|
878
878
|
TweenLite.ticker = _ticker;
|
@@ -1514,7 +1514,7 @@
|
|
1514
1514
|
while (pt) {
|
1515
1515
|
val = pt.c * v + pt.s;
|
1516
1516
|
if (pt.r) {
|
1517
|
-
val =
|
1517
|
+
val = Math.round(val);
|
1518
1518
|
} else if (val < min) if (val > -min) { //prevents issues with converting very small numbers to strings in the browser
|
1519
1519
|
val = 0;
|
1520
1520
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.11.
|
3
|
-
* DATE: 2014-
|
2
|
+
* VERSION: 1.11.7
|
3
|
+
* DATE: 2014-04-29
|
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
|
@@ -34,7 +34,7 @@
|
|
34
34
|
p = TweenMax.prototype = TweenLite.to({}, 0.1, {}),
|
35
35
|
_blankArray = [];
|
36
36
|
|
37
|
-
TweenMax.version = "1.11.
|
37
|
+
TweenMax.version = "1.11.7";
|
38
38
|
p.constructor = TweenMax;
|
39
39
|
p.kill()._gc = false;
|
40
40
|
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
|
@@ -594,6 +594,7 @@
|
|
594
594
|
_isSelector = TweenLite._internals.isSelector,
|
595
595
|
_isArray = TweenLite._internals.isArray,
|
596
596
|
_blankArray = [],
|
597
|
+
_globals = window._gsDefine.globals,
|
597
598
|
_copy = function(vars) {
|
598
599
|
var copy = {}, p;
|
599
600
|
for (p in vars) {
|
@@ -610,20 +611,22 @@
|
|
610
611
|
_slice = _blankArray.slice,
|
611
612
|
p = TimelineLite.prototype = new SimpleTimeline();
|
612
613
|
|
613
|
-
TimelineLite.version = "1.11.
|
614
|
+
TimelineLite.version = "1.11.7";
|
614
615
|
p.constructor = TimelineLite;
|
615
616
|
p.kill()._gc = false;
|
616
617
|
|
617
618
|
p.to = function(target, duration, vars, position) {
|
618
|
-
|
619
|
+
var Engine = (vars.repeat && _globals.TweenMax) || TweenLite;
|
620
|
+
return duration ? this.add( new Engine(target, duration, vars), position) : this.set(target, vars, position);
|
619
621
|
};
|
620
622
|
|
621
623
|
p.from = function(target, duration, vars, position) {
|
622
|
-
return this.add( TweenLite.from(target, duration, vars), position);
|
624
|
+
return this.add( ((vars.repeat && _globals.TweenMax) || TweenLite).from(target, duration, vars), position);
|
623
625
|
};
|
624
626
|
|
625
627
|
p.fromTo = function(target, duration, fromVars, toVars, position) {
|
626
|
-
|
628
|
+
var Engine = (toVars.repeat && _globals.TweenMax) || TweenLite;
|
629
|
+
return duration ? this.add( Engine.fromTo(target, duration, fromVars, toVars), position) : this.set(target, toVars, position);
|
627
630
|
};
|
628
631
|
|
629
632
|
p.staggerTo = function(targets, duration, vars, stagger, position, onCompleteAll, onCompleteAllParams, onCompleteAllScope) {
|
@@ -1207,7 +1210,7 @@
|
|
1207
1210
|
|
1208
1211
|
p.constructor = TimelineMax;
|
1209
1212
|
p.kill()._gc = false;
|
1210
|
-
TimelineMax.version = "1.11.
|
1213
|
+
TimelineMax.version = "1.11.7";
|
1211
1214
|
|
1212
1215
|
p.invalidate = function() {
|
1213
1216
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -1928,7 +1931,7 @@
|
|
1928
1931
|
BezierPlugin = window._gsDefine.plugin({
|
1929
1932
|
propName: "bezier",
|
1930
1933
|
priority: -1,
|
1931
|
-
version: "1.3.
|
1934
|
+
version: "1.3.2",
|
1932
1935
|
API: 2,
|
1933
1936
|
global:true,
|
1934
1937
|
|
@@ -2063,7 +2066,7 @@
|
|
2063
2066
|
b = this._beziers[p][curIndex];
|
2064
2067
|
val = (t * t * b.da + 3 * inv * (t * b.ca + inv * b.ba)) * t + b.a;
|
2065
2068
|
if (this._round[p]) {
|
2066
|
-
val = (val
|
2069
|
+
val = Math.round(val);
|
2067
2070
|
}
|
2068
2071
|
if (func[p]) {
|
2069
2072
|
target[p](val);
|
@@ -2235,7 +2238,7 @@
|
|
2235
2238
|
p = CSSPlugin.prototype = new TweenPlugin("css");
|
2236
2239
|
|
2237
2240
|
p.constructor = CSSPlugin;
|
2238
|
-
CSSPlugin.version = "1.11.
|
2241
|
+
CSSPlugin.version = "1.11.7";
|
2239
2242
|
CSSPlugin.API = 2;
|
2240
2243
|
CSSPlugin.defaultTransformPerspective = 0;
|
2241
2244
|
CSSPlugin.defaultSkewType = "compensated";
|
@@ -2343,8 +2346,7 @@
|
|
2343
2346
|
if (!calc && t.style[p]) {
|
2344
2347
|
rv = t.style[p];
|
2345
2348
|
} else if ((cs = cs || _getComputedStyle(t, null))) {
|
2346
|
-
|
2347
|
-
rv = (t || cs.length) ? t : cs[p]; //Opera behaves VERY strangely - length is usually 0 and cs[p] is the only way to get accurate results EXCEPT when checking for -o-transform which only works with cs.getPropertyValue()!
|
2349
|
+
rv = cs[p] || cs.getPropertyValue(p) || cs.getPropertyValue(p.replace(_capsExp, "-$1").toLowerCase());
|
2348
2350
|
} else if (t.currentStyle) {
|
2349
2351
|
rv = t.currentStyle[p];
|
2350
2352
|
}
|
@@ -2367,7 +2369,7 @@
|
|
2367
2369
|
node = t,
|
2368
2370
|
style = _tempDiv.style,
|
2369
2371
|
neg = (v < 0),
|
2370
|
-
pix;
|
2372
|
+
pix, cache, time;
|
2371
2373
|
if (neg) {
|
2372
2374
|
v = -v;
|
2373
2375
|
}
|
@@ -2377,6 +2379,11 @@
|
|
2377
2379
|
style.cssText = "border:0 solid red;position:" + _getStyle(t, "position") + ";line-height:0;";
|
2378
2380
|
if (sfx === "%" || !node.appendChild) {
|
2379
2381
|
node = t.parentNode || _doc.body;
|
2382
|
+
cache = node._gsCache;
|
2383
|
+
time = TweenLite.ticker.frame;
|
2384
|
+
if (cache && horiz && cache.time === time) { //performance optimization: we record the width of elements along with the ticker frame so that we can quickly get it again on the same tick (seems relatively safe to assume it wouldn't change on the same tick)
|
2385
|
+
return cache.width * v / 100;
|
2386
|
+
}
|
2380
2387
|
style[(horiz ? "width" : "height")] = v + sfx;
|
2381
2388
|
} else {
|
2382
2389
|
style[(horiz ? "borderLeftWidth" : "borderTopWidth")] = v + sfx;
|
@@ -2384,6 +2391,11 @@
|
|
2384
2391
|
node.appendChild(_tempDiv);
|
2385
2392
|
pix = parseFloat(_tempDiv[(horiz ? "offsetWidth" : "offsetHeight")]);
|
2386
2393
|
node.removeChild(_tempDiv);
|
2394
|
+
if (horiz && sfx === "%" && CSSPlugin.cacheWidths !== false) {
|
2395
|
+
cache = node._gsCache = node._gsCache || {};
|
2396
|
+
cache.time = time;
|
2397
|
+
cache.width = pix / v * 100;
|
2398
|
+
}
|
2387
2399
|
if (pix === 0 && !recurse) {
|
2388
2400
|
pix = _convertToPixels(t, p, v, sfx, true);
|
2389
2401
|
}
|
@@ -2759,7 +2771,7 @@
|
|
2759
2771
|
while (mpt) {
|
2760
2772
|
val = proxy[mpt.v];
|
2761
2773
|
if (mpt.r) {
|
2762
|
-
val =
|
2774
|
+
val = Math.round(val);
|
2763
2775
|
} else if (val < min && val > -min) {
|
2764
2776
|
val = 0;
|
2765
2777
|
}
|
@@ -3645,6 +3657,7 @@
|
|
3645
3657
|
};
|
3646
3658
|
|
3647
3659
|
_registerComplexSpecialProp("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType", {parser:function(t, e, p, cssp, pt, plugin, vars) {
|
3660
|
+
//TODO: when plugins use this, don't assume we're done with all the transforms. If bezier handles x/y and the user does a separate rotation tween outside of the bezier, this would break it and ignore the rotation part.
|
3648
3661
|
if (cssp._transform) { return pt; } //only need to parse the transform once, and only if the browser supports it.
|
3649
3662
|
var m1 = cssp._transform = _getTransform(t, _cs, true, vars.parseTransform),
|
3650
3663
|
style = t.style,
|
@@ -3653,7 +3666,6 @@
|
|
3653
3666
|
v = vars,
|
3654
3667
|
endRotations = {},
|
3655
3668
|
m2, skewY, copy, orig, has3D, hasChange, dr;
|
3656
|
-
|
3657
3669
|
if (typeof(v.transform) === "string" && _transformProp) { //for values like transform:"rotate(60deg) scale(0.5, 0.8)"
|
3658
3670
|
copy = style.cssText;
|
3659
3671
|
style[_transformProp] = v.transform;
|
@@ -3938,6 +3950,9 @@
|
|
3938
3950
|
var _removeProp = function(s, p) {
|
3939
3951
|
if (p) {
|
3940
3952
|
if (s.removeProperty) {
|
3953
|
+
if (p.substr(0,2) === "ms") { //Microsoft browsers don't conform to the standard of capping the first prefix character, so we adjust so that when we prefix the caps with a dash, it's correct (otherwise it'd be "ms-transform" instead of "-ms-transform" for IE9, for example)
|
3954
|
+
p = "M" + p.substr(1);
|
3955
|
+
}
|
3941
3956
|
s.removeProperty(p.replace(_capsExp, "-$1").toLowerCase());
|
3942
3957
|
} else { //note: old versions of IE use "removeAttribute()" instead of "removeProperty()"
|
3943
3958
|
s.removeAttribute(p);
|
@@ -4210,7 +4225,7 @@
|
|
4210
4225
|
es = (en || en === 0) ? (rel ? en + bn : en) + esfx : vars[p]; //ensures that any += or -= prefixes are taken care of. Record the end value before normalizing the suffix because we always want to end the tween on exactly what they intended even if it doesn't match the beginning value's suffix.
|
4211
4226
|
|
4212
4227
|
//if the beginning/ending suffixes don't match, normalize them...
|
4213
|
-
if (bsfx !== esfx) if (esfx !== "") if (en || en === 0) if (bn
|
4228
|
+
if (bsfx !== esfx) if (esfx !== "") if (en || en === 0) if (bn) { //note: if the beginning value (bn) is 0, we don't need to convert units!
|
4214
4229
|
bn = _convertToPixels(target, p, bn, bsfx);
|
4215
4230
|
if (esfx === "%") {
|
4216
4231
|
bn /= _convertToPixels(target, p, 100, "%") / 100;
|
@@ -4222,7 +4237,7 @@
|
|
4222
4237
|
bn /= _convertToPixels(target, p, 1, "em");
|
4223
4238
|
|
4224
4239
|
//otherwise convert to pixels.
|
4225
|
-
} else {
|
4240
|
+
} else if (esfx !== "px") {
|
4226
4241
|
en = _convertToPixels(target, p, en, esfx);
|
4227
4242
|
esfx = "px"; //we don't use bsfx after this, so we don't need to set it to px too.
|
4228
4243
|
}
|
@@ -4277,7 +4292,7 @@
|
|
4277
4292
|
while (pt) {
|
4278
4293
|
val = pt.c * v + pt.s;
|
4279
4294
|
if (pt.r) {
|
4280
|
-
val =
|
4295
|
+
val = Math.round(val);
|
4281
4296
|
} else if (val < min) if (val > -min) {
|
4282
4297
|
val = 0;
|
4283
4298
|
}
|
@@ -5902,7 +5917,7 @@
|
|
5902
5917
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
5903
5918
|
p._notifyPluginsOfEnabled = false;
|
5904
5919
|
|
5905
|
-
TweenLite.version = "1.11.
|
5920
|
+
TweenLite.version = "1.11.7";
|
5906
5921
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
5907
5922
|
TweenLite.defaultOverwrite = "auto";
|
5908
5923
|
TweenLite.ticker = _ticker;
|
@@ -6544,7 +6559,7 @@
|
|
6544
6559
|
while (pt) {
|
6545
6560
|
val = pt.c * v + pt.s;
|
6546
6561
|
if (pt.r) {
|
6547
|
-
val =
|
6562
|
+
val = Math.round(val);
|
6548
6563
|
} else if (val < min) if (val > -min) { //prevents issues with converting very small numbers to strings in the browser
|
6549
6564
|
val = 0;
|
6550
6565
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 0.1.
|
3
|
-
* DATE:
|
2
|
+
* VERSION: 0.1.7
|
3
|
+
* DATE: 2014-04-29
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com/jquery-gsap-plugin/
|
5
5
|
*
|
6
6
|
* Requires TweenLite version 1.8.0 or higher and CSSPlugin.
|
@@ -18,21 +18,13 @@
|
|
18
18
|
_stop = $.fn.stop,
|
19
19
|
_enabled = true,
|
20
20
|
TweenLite, CSSPlugin, _warned,
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
_copy = function(o) {
|
22
|
+
var copy = {},
|
23
|
+
p;
|
24
|
+
for (p in o) {
|
25
|
+
copy[p] = o[p];
|
24
26
|
}
|
25
|
-
|
26
|
-
},
|
27
|
-
_addCallback = function(type, func, obj, vars, next) {
|
28
|
-
next = (typeof(next) === "function") ? next : null;
|
29
|
-
func = (typeof(func) === "function") ? func : null;
|
30
|
-
if (!func && !next) {
|
31
|
-
return;
|
32
|
-
}
|
33
|
-
vars[type] = next ? _dequeue : obj.each;
|
34
|
-
vars[type + "Scope"] = obj;
|
35
|
-
vars[type + "Params"] = next ? [func, next] : [func];
|
27
|
+
return copy;
|
36
28
|
},
|
37
29
|
_reserved = {overwrite:1, delay:1, useFrames:1, runBackwards:1, easeParams:1, yoyo:1, immediateRender:1, repeat:1, repeatDelay:1, autoCSS:1},
|
38
30
|
_copyCriticalReserved = function(main, sub) {
|
@@ -107,6 +99,7 @@
|
|
107
99
|
}
|
108
100
|
|
109
101
|
if (specEasing) {
|
102
|
+
vars = _copy(vars);
|
110
103
|
specEasingVars = [];
|
111
104
|
for (p in specEasing) {
|
112
105
|
val = specEasingVars[specEasingVars.length] = {};
|
@@ -116,6 +109,7 @@
|
|
116
109
|
p = $.camelCase(p);
|
117
110
|
}
|
118
111
|
val[p] = vars[p];
|
112
|
+
delete vars[p];
|
119
113
|
}
|
120
114
|
if (specEasingVars.length === 0) {
|
121
115
|
specEasingVars = null;
|
@@ -123,20 +117,34 @@
|
|
123
117
|
}
|
124
118
|
|
125
119
|
doAnimation = function(next) {
|
120
|
+
var varsCopy = _copy(vars),
|
121
|
+
i;
|
126
122
|
if (specEasingVars) {
|
127
|
-
|
123
|
+
i = specEasingVars.length;
|
128
124
|
while (--i > -1) {
|
129
|
-
TweenLite.to(
|
125
|
+
TweenLite.to(this, $.fx.off ? 0 : config.duration / 1000, specEasingVars[i]);
|
130
126
|
}
|
131
127
|
}
|
132
|
-
|
133
|
-
|
128
|
+
varsCopy.onComplete = function() {
|
129
|
+
if (next) {
|
130
|
+
next();
|
131
|
+
} else if (config.old) {
|
132
|
+
$(this).each(config.old);
|
133
|
+
}
|
134
|
+
};
|
135
|
+
TweenLite.to(this, $.fx.off ? 0 : config.duration / 1000, varsCopy);
|
134
136
|
};
|
135
137
|
|
136
138
|
if (config.queue !== false) {
|
137
|
-
obj.queue(config.queue, doAnimation);
|
139
|
+
obj.queue(config.queue, doAnimation); //note: the queued function will get called once for each element in the jQuery collection.
|
140
|
+
if (config.old) {
|
141
|
+
obj.queue(config.queue, function(next) {
|
142
|
+
config.old();
|
143
|
+
next();
|
144
|
+
});
|
145
|
+
}
|
138
146
|
} else {
|
139
|
-
doAnimation();
|
147
|
+
doAnimation.call(obj);
|
140
148
|
}
|
141
149
|
|
142
150
|
return obj;
|
@@ -162,6 +170,6 @@
|
|
162
170
|
return this;
|
163
171
|
};
|
164
172
|
|
165
|
-
$.gsap = {enabled:function(value) {_enabled = value;}, version:"0.1.
|
173
|
+
$.gsap = {enabled:function(value) {_enabled = value;}, version:"0.1.7"};
|
166
174
|
|
167
175
|
}(jQuery));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: beta 1.3.
|
3
|
-
* DATE: 2014-
|
2
|
+
* VERSION: beta 1.3.2
|
3
|
+
* DATE: 2014-04-08
|
4
4
|
* UPDATES AND DOCS AT: http://www.greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
|
@@ -306,7 +306,7 @@
|
|
306
306
|
BezierPlugin = window._gsDefine.plugin({
|
307
307
|
propName: "bezier",
|
308
308
|
priority: -1,
|
309
|
-
version: "1.3.
|
309
|
+
version: "1.3.2",
|
310
310
|
API: 2,
|
311
311
|
global:true,
|
312
312
|
|
@@ -441,7 +441,7 @@
|
|
441
441
|
b = this._beziers[p][curIndex];
|
442
442
|
val = (t * t * b.da + 3 * inv * (t * b.ca + inv * b.ba)) * t + b.a;
|
443
443
|
if (this._round[p]) {
|
444
|
-
val = (val
|
444
|
+
val = Math.round(val);
|
445
445
|
}
|
446
446
|
if (func[p]) {
|
447
447
|
target[p](val);
|