greensock-rails 1.20.0.0 → 1.20.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 +6 -6
- data/vendor/assets/javascripts/greensock/TweenLite.js +4 -5
- data/vendor/assets/javascripts/greensock/TweenMax.js +8 -8
- data/vendor/assets/javascripts/greensock/plugins/CSSRulePlugin.js +4 -4
- data/vendor/assets/javascripts/greensock/plugins/PixiPlugin.js +57 -31
- 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: f4a4d5c158771a6db4ff87ba3ade42771f70d2fa
|
4
|
+
data.tar.gz: a9d85fccd28b1ca838f5e80a226992f8449deeee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4dc7bd1f83d8a05d62b1acf59e7eff8c61784d92cc8836713cb0d42a5a64fc7cc208af368685311013952592f65e01d606f0e118dc65016916b746def7d5eb5
|
7
|
+
data.tar.gz: 8c83468a2decb67de3ca026b6199924e381c5acce334c9ad66e986f0a74869de7b110180b8a0d7467d9429133285647aee7e51ff88872977ecb76c47ede7d02b
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.20.
|
3
|
-
* DATE: 2017-06-
|
2
|
+
* VERSION: 1.20.1
|
3
|
+
* DATE: 2017-06-29
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
|
@@ -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.20.
|
72
|
+
TimelineLite.version = "1.20.1";
|
73
73
|
p.constructor = TimelineLite;
|
74
74
|
p.kill()._gc = p._forcingPlayhead = p._hasPause = false;
|
75
75
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.20.
|
3
|
-
* DATE: 2017-06-
|
2
|
+
* VERSION: 1.20.1
|
3
|
+
* DATE: 2017-06-29
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2017, 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.20.
|
37
|
+
TimelineMax.version = "1.20.1";
|
38
38
|
|
39
39
|
p.invalidate = function() {
|
40
40
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -203,7 +203,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
203
203
|
}
|
204
204
|
}
|
205
205
|
|
206
|
-
if (this._hasPause && !this._forcingPlayhead && !suppressEvents
|
206
|
+
if (this._hasPause && !this._forcingPlayhead && !suppressEvents) {
|
207
207
|
time = this._time;
|
208
208
|
if (time >= prevTime || (this._repeat && prevCycle !== this._cycle)) {
|
209
209
|
tween = this._first;
|
@@ -222,7 +222,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
222
222
|
tween = tween._prev;
|
223
223
|
}
|
224
224
|
}
|
225
|
-
if (pauseTween) {
|
225
|
+
if (pauseTween && pauseTween._startTime < dur) {
|
226
226
|
this._time = time = pauseTween._startTime;
|
227
227
|
this._totalTime = time + (this._cycle * (this._totalDuration + this._repeatDelay));
|
228
228
|
}
|
@@ -584,7 +584,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
584
584
|
},
|
585
585
|
p = TimelineLite.prototype = new SimpleTimeline();
|
586
586
|
|
587
|
-
TimelineLite.version = "1.20.
|
587
|
+
TimelineLite.version = "1.20.1";
|
588
588
|
p.constructor = TimelineLite;
|
589
589
|
p.kill()._gc = p._forcingPlayhead = p._hasPause = false;
|
590
590
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.20.
|
3
|
-
* DATE: 2017-06-
|
2
|
+
* VERSION: 1.20.1
|
3
|
+
* DATE: 2017-06-29
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
|
@@ -105,7 +105,7 @@
|
|
105
105
|
//exports to multiple environments
|
106
106
|
if (global) {
|
107
107
|
_globals[n] = _exports[n] = cl; //provides a way to avoid global namespace pollution. By default, the main classes like TweenLite, Power1, Strong, etc. are added to window unless a GreenSockGlobals is defined. So if you want to have things added to a custom object instead, just do something like window.GreenSockGlobals = {} before loading any GreenSock files. You can even set up an alias like window.GreenSockGlobals = windows.gs = {} so that you can access everything like gs.TweenLite. Also remember that ALL classes are added to the window.com.greensock object (in their respective packages, like com.greensock.easing.Power1, com.greensock.TweenLite, etc.)
|
108
|
-
if (typeof(module) !== "undefined" && module.exports) {
|
108
|
+
if (typeof(module) !== "undefined" && module.exports) { //node
|
109
109
|
if (ns === moduleName) {
|
110
110
|
module.exports = _exports[moduleName] = cl;
|
111
111
|
for (i in _exports) {
|
@@ -148,7 +148,6 @@
|
|
148
148
|
* ----------------------------------------------------------------
|
149
149
|
*/
|
150
150
|
var _baseParams = [0, 0, 1, 1],
|
151
|
-
_blankArray = [],
|
152
151
|
Ease = _class("easing.Ease", function(func, extraParams, type, power) {
|
153
152
|
this._func = func;
|
154
153
|
this._type = type || 0;
|
@@ -949,7 +948,7 @@
|
|
949
948
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
950
949
|
p._notifyPluginsOfEnabled = p._lazy = false;
|
951
950
|
|
952
|
-
TweenLite.version = "1.20.
|
951
|
+
TweenLite.version = "1.20.1";
|
953
952
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
954
953
|
TweenLite.defaultOverwrite = "auto";
|
955
954
|
TweenLite.ticker = _ticker;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 1.20.
|
3
|
-
* DATE: 2017-06-
|
2
|
+
* VERSION: 1.20.1
|
3
|
+
* DATE: 2017-06-29
|
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
|
@@ -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.20.
|
53
|
+
TweenMax.version = "1.20.1";
|
54
54
|
p.constructor = TweenMax;
|
55
55
|
p.kill()._gc = false;
|
56
56
|
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
|
@@ -700,7 +700,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
700
700
|
},
|
701
701
|
p = TimelineLite.prototype = new SimpleTimeline();
|
702
702
|
|
703
|
-
TimelineLite.version = "1.20.
|
703
|
+
TimelineLite.version = "1.20.1";
|
704
704
|
p.constructor = TimelineLite;
|
705
705
|
p.kill()._gc = p._forcingPlayhead = p._hasPause = false;
|
706
706
|
|
@@ -1436,7 +1436,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1436
1436
|
|
1437
1437
|
p.constructor = TimelineMax;
|
1438
1438
|
p.kill()._gc = false;
|
1439
|
-
TimelineMax.version = "1.20.
|
1439
|
+
TimelineMax.version = "1.20.1";
|
1440
1440
|
|
1441
1441
|
p.invalidate = function() {
|
1442
1442
|
this._yoyo = (this.vars.yoyo === true);
|
@@ -1605,7 +1605,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1605
1605
|
}
|
1606
1606
|
}
|
1607
1607
|
|
1608
|
-
if (this._hasPause && !this._forcingPlayhead && !suppressEvents
|
1608
|
+
if (this._hasPause && !this._forcingPlayhead && !suppressEvents) {
|
1609
1609
|
time = this._time;
|
1610
1610
|
if (time >= prevTime || (this._repeat && prevCycle !== this._cycle)) {
|
1611
1611
|
tween = this._first;
|
@@ -1624,7 +1624,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
1624
1624
|
tween = tween._prev;
|
1625
1625
|
}
|
1626
1626
|
}
|
1627
|
-
if (pauseTween) {
|
1627
|
+
if (pauseTween && pauseTween._startTime < dur) {
|
1628
1628
|
this._time = time = pauseTween._startTime;
|
1629
1629
|
this._totalTime = time + (this._cycle * (this._totalDuration + this._repeatDelay));
|
1630
1630
|
}
|
@@ -6943,7 +6943,7 @@ if (_gsScope._gsDefine) { _gsScope._gsQueue.pop()(); } //necessary in case Tween
|
|
6943
6943
|
p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
|
6944
6944
|
p._notifyPluginsOfEnabled = p._lazy = false;
|
6945
6945
|
|
6946
|
-
TweenLite.version = "1.20.
|
6946
|
+
TweenLite.version = "1.20.1";
|
6947
6947
|
TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
|
6948
6948
|
TweenLite.defaultOverwrite = "auto";
|
6949
6949
|
TweenLite.ticker = _ticker;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 0.6.
|
3
|
-
* DATE: 2017-06-
|
2
|
+
* VERSION: 0.6.6
|
3
|
+
* DATE: 2017-06-29
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
|
@@ -27,7 +27,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
27
27
|
|
28
28
|
p._propName = "cssRule";
|
29
29
|
p.constructor = CSSRulePlugin;
|
30
|
-
CSSRulePlugin.version = "0.6.
|
30
|
+
CSSRulePlugin.version = "0.6.6";
|
31
31
|
CSSRulePlugin.API = 2;
|
32
32
|
|
33
33
|
/**
|
@@ -44,7 +44,7 @@ var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(globa
|
|
44
44
|
i = ss.length,
|
45
45
|
pseudo = (selector.charAt(0) === ":"),
|
46
46
|
j, curSS, cs, a;
|
47
|
-
selector = (pseudo ? "" : ",") + selector.toLowerCase() + ","; //note: old versions of IE report tag name selectors as upper case, so we just change everything to lowercase.
|
47
|
+
selector = (pseudo ? "" : ",") + selector.split("::").join(":").toLowerCase() + ","; //note: old versions of IE report tag name selectors as upper case, so we just change everything to lowercase.
|
48
48
|
if (pseudo) {
|
49
49
|
a = [];
|
50
50
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 0.1.
|
3
|
-
* DATE: 2017-06-
|
2
|
+
* VERSION: 0.1.2
|
3
|
+
* DATE: 2017-06-29
|
4
4
|
* UPDATES AND DOCS AT: http://greensock.com
|
5
5
|
*
|
6
6
|
* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
|
@@ -144,9 +144,6 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
144
144
|
_lumB = 0.072169,
|
145
145
|
|
146
146
|
_applyMatrix = function(m, m2) {
|
147
|
-
if (!(m instanceof Array) || !(m2 instanceof Array)) {
|
148
|
-
return m2;
|
149
|
-
}
|
150
147
|
var temp = [],
|
151
148
|
i = 0,
|
152
149
|
z = 0,
|
@@ -162,9 +159,6 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
162
159
|
},
|
163
160
|
|
164
161
|
_setSaturation = function(m, n) {
|
165
|
-
if (isNaN(n)) {
|
166
|
-
return m;
|
167
|
-
}
|
168
162
|
var inv = 1 - n,
|
169
163
|
r = inv * _lumR,
|
170
164
|
g = inv * _lumG,
|
@@ -173,9 +167,6 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
173
167
|
},
|
174
168
|
|
175
169
|
_colorize = function(m, color, amount) {
|
176
|
-
if (isNaN(amount)) {
|
177
|
-
amount = 1;
|
178
|
-
}
|
179
170
|
var c = _parseColor(color),
|
180
171
|
r = c[0] / 255,
|
181
172
|
g = c[1] / 255,
|
@@ -185,9 +176,6 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
185
176
|
},
|
186
177
|
|
187
178
|
_setHue = function(m, n) {
|
188
|
-
if (isNaN(n)) {
|
189
|
-
return m;
|
190
|
-
}
|
191
179
|
n *= Math.PI / 180;
|
192
180
|
var c = Math.cos(n),
|
193
181
|
s = Math.sin(n);
|
@@ -195,9 +183,6 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
195
183
|
},
|
196
184
|
|
197
185
|
_setContrast = function(m, n) {
|
198
|
-
if (isNaN(n)) {
|
199
|
-
return m;
|
200
|
-
}
|
201
186
|
return _applyMatrix([n,0,0,0,0.5 * (1 - n), 0,n,0,0,0.5 * (1 - n), 0,0,n,0,0.5 * (1 - n), 0,0,0,1,0], m);
|
202
187
|
},
|
203
188
|
|
@@ -235,46 +220,87 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
235
220
|
return temp.matrix;
|
236
221
|
},
|
237
222
|
|
223
|
+
_CMFdefaults = {contrast:1, saturation:1, colorizeAmount:0, colorize:"rgb(255,255,255)", hue:0, brightness:1},
|
224
|
+
|
238
225
|
_parseColorMatrixFilter = function(t, v, pg) {
|
239
226
|
var filter = _getFilter(t, "ColorMatrixFilter"),
|
240
227
|
cache = t._gsColorMatrixFilter = t._gsColorMatrixFilter || {contrast:1, saturation:1, colorizeAmount:0, colorize:"rgb(255,255,255)", hue:0, brightness:1},
|
241
|
-
|
228
|
+
combine = v.combineCMF && !("colorMatrixFilter" in v && !v.colorMatrixFilter),
|
242
229
|
i, matrix, startMatrix;
|
243
230
|
startMatrix = filter.matrix;
|
244
231
|
if (v.matrix && v.matrix.length === startMatrix.length) {
|
245
232
|
matrix = v.matrix;
|
233
|
+
if (cache.contrast !== 1) {
|
234
|
+
_addColorMatrixFilterCacheTween("contrast", pg, cache, _CMFdefaults);
|
235
|
+
}
|
236
|
+
if (cache.hue) {
|
237
|
+
_addColorMatrixFilterCacheTween("hue", pg, cache, _CMFdefaults);
|
238
|
+
}
|
239
|
+
if (cache.brightness !== 1) {
|
240
|
+
_addColorMatrixFilterCacheTween("brightness", pg, cache, _CMFdefaults);
|
241
|
+
}
|
242
|
+
if (cache.colorizeAmount) {
|
243
|
+
_addColorMatrixFilterCacheTween("colorize", pg, cache, _CMFdefaults);
|
244
|
+
_addColorMatrixFilterCacheTween("colorizeAmount", pg, cache, _CMFdefaults);
|
245
|
+
}
|
246
|
+
if (cache.saturation !== 1) {
|
247
|
+
_addColorMatrixFilterCacheTween("saturation", pg, cache, _CMFdefaults);
|
248
|
+
}
|
249
|
+
|
246
250
|
} else {
|
247
251
|
matrix = _idMatrix.slice();
|
248
252
|
if (v.contrast != null) {
|
249
253
|
matrix = _setContrast(matrix, Number(v.contrast));
|
250
254
|
_addColorMatrixFilterCacheTween("contrast", pg, cache, v);
|
251
|
-
} else if (
|
252
|
-
|
255
|
+
} else if (cache.contrast !== 1) {
|
256
|
+
if (combine) {
|
257
|
+
matrix = _setContrast(matrix, cache.contrast);
|
258
|
+
} else {
|
259
|
+
_addColorMatrixFilterCacheTween("contrast", pg, cache, _CMFdefaults);
|
260
|
+
}
|
253
261
|
}
|
254
262
|
if (v.hue != null) {
|
255
263
|
matrix = _setHue(matrix, Number(v.hue));
|
256
264
|
_addColorMatrixFilterCacheTween("hue", pg, cache, v);
|
257
|
-
} else if (
|
258
|
-
|
265
|
+
} else if (cache.hue) {
|
266
|
+
if (combine) {
|
267
|
+
matrix = _setHue(matrix, cache.hue);
|
268
|
+
} else {
|
269
|
+
_addColorMatrixFilterCacheTween("hue", pg, cache, _CMFdefaults);
|
270
|
+
}
|
259
271
|
}
|
260
272
|
if (v.brightness != null) {
|
261
273
|
matrix = _applyBrightnessToMatrix(Number(v.brightness), matrix);
|
262
274
|
_addColorMatrixFilterCacheTween("brightness", pg, cache, v);
|
263
|
-
} else if (
|
264
|
-
|
275
|
+
} else if (cache.brightness !== 1) {
|
276
|
+
if (combine) {
|
277
|
+
matrix = _applyBrightnessToMatrix(cache.brightness, matrix);
|
278
|
+
} else {
|
279
|
+
_addColorMatrixFilterCacheTween("brightness", pg, cache, _CMFdefaults);
|
280
|
+
}
|
265
281
|
}
|
266
282
|
if (v.colorize != null) {
|
267
|
-
|
283
|
+
v.colorizeAmount = ("colorizeAmount" in v) ? Number(v.colorizeAmount) : 1;
|
284
|
+
matrix = _colorize(matrix, v.colorize, v.colorizeAmount);
|
268
285
|
_addColorMatrixFilterCacheTween("colorize", pg, cache, v);
|
269
286
|
_addColorMatrixFilterCacheTween("colorizeAmount", pg, cache, v);
|
270
|
-
} else if (
|
271
|
-
|
287
|
+
} else if (cache.colorizeAmount) {
|
288
|
+
if (combine) {
|
289
|
+
matrix = _colorize(matrix, cache.colorize, cache.colorizeAmount);
|
290
|
+
} else {
|
291
|
+
_addColorMatrixFilterCacheTween("colorize", pg, cache, _CMFdefaults);
|
292
|
+
_addColorMatrixFilterCacheTween("colorizeAmount", pg, cache, _CMFdefaults);
|
293
|
+
}
|
272
294
|
}
|
273
295
|
if (v.saturation != null) {
|
274
296
|
matrix = _setSaturation(matrix, Number(v.saturation));
|
275
297
|
_addColorMatrixFilterCacheTween("saturation", pg, cache, v);
|
276
|
-
} else if (
|
277
|
-
|
298
|
+
} else if (cache.saturation !== 1) {
|
299
|
+
if (combine) {
|
300
|
+
matrix = _setSaturation(matrix, cache.saturation);
|
301
|
+
} else {
|
302
|
+
_addColorMatrixFilterCacheTween("saturation", pg, cache, _CMFdefaults);
|
303
|
+
}
|
278
304
|
}
|
279
305
|
}
|
280
306
|
i = matrix.length;
|
@@ -321,7 +347,7 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
321
347
|
_colorProps = {tint:1, lineColor:1, fillColor:1},
|
322
348
|
_xyContexts = "position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),
|
323
349
|
_contexts = {x:"position", y:"position", tileX:"tilePosition", tileY:"tilePosition"},
|
324
|
-
_colorMatrixFilterProps = {colorMatrixFilter:1, saturation:1, contrast:1, hue:1, colorize:1, colorizeAmount:1, brightness:1,
|
350
|
+
_colorMatrixFilterProps = {colorMatrixFilter:1, saturation:1, contrast:1, hue:1, colorize:1, colorizeAmount:1, brightness:1, combineCMF:1},
|
325
351
|
_DEG2RAD = Math.PI / 180,
|
326
352
|
_degreesToRadians = function(value) {
|
327
353
|
return (typeof(value) === "string" && value.charAt(1) === "=") ? value.substr(0, 2) + (parseFloat(value.substr(2)) * _DEG2RAD) : value * _DEG2RAD;
|
@@ -359,7 +385,7 @@ var _gsScope = (typeof module !== "undefined" && module.exports && typeof global
|
|
359
385
|
priority: 0,
|
360
386
|
API: 2,
|
361
387
|
global: true,
|
362
|
-
version: "0.1.
|
388
|
+
version: "0.1.2",
|
363
389
|
|
364
390
|
init: function (target, values, tween, index) {
|
365
391
|
if (!target instanceof _gsScope.PIXI.DisplayObject) {
|