greensock-rails 1.11.6.0 → 1.11.7.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 +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
@@ -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.
|
@@ -29,7 +29,7 @@
|
|
29
29
|
p = CSSPlugin.prototype = new TweenPlugin("css");
|
30
30
|
|
31
31
|
p.constructor = CSSPlugin;
|
32
|
-
CSSPlugin.version = "1.11.
|
32
|
+
CSSPlugin.version = "1.11.7";
|
33
33
|
CSSPlugin.API = 2;
|
34
34
|
CSSPlugin.defaultTransformPerspective = 0;
|
35
35
|
CSSPlugin.defaultSkewType = "compensated";
|
@@ -137,8 +137,7 @@
|
|
137
137
|
if (!calc && t.style[p]) {
|
138
138
|
rv = t.style[p];
|
139
139
|
} else if ((cs = cs || _getComputedStyle(t, null))) {
|
140
|
-
|
141
|
-
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()!
|
140
|
+
rv = cs[p] || cs.getPropertyValue(p) || cs.getPropertyValue(p.replace(_capsExp, "-$1").toLowerCase());
|
142
141
|
} else if (t.currentStyle) {
|
143
142
|
rv = t.currentStyle[p];
|
144
143
|
}
|
@@ -161,7 +160,7 @@
|
|
161
160
|
node = t,
|
162
161
|
style = _tempDiv.style,
|
163
162
|
neg = (v < 0),
|
164
|
-
pix;
|
163
|
+
pix, cache, time;
|
165
164
|
if (neg) {
|
166
165
|
v = -v;
|
167
166
|
}
|
@@ -171,6 +170,11 @@
|
|
171
170
|
style.cssText = "border:0 solid red;position:" + _getStyle(t, "position") + ";line-height:0;";
|
172
171
|
if (sfx === "%" || !node.appendChild) {
|
173
172
|
node = t.parentNode || _doc.body;
|
173
|
+
cache = node._gsCache;
|
174
|
+
time = TweenLite.ticker.frame;
|
175
|
+
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)
|
176
|
+
return cache.width * v / 100;
|
177
|
+
}
|
174
178
|
style[(horiz ? "width" : "height")] = v + sfx;
|
175
179
|
} else {
|
176
180
|
style[(horiz ? "borderLeftWidth" : "borderTopWidth")] = v + sfx;
|
@@ -178,6 +182,11 @@
|
|
178
182
|
node.appendChild(_tempDiv);
|
179
183
|
pix = parseFloat(_tempDiv[(horiz ? "offsetWidth" : "offsetHeight")]);
|
180
184
|
node.removeChild(_tempDiv);
|
185
|
+
if (horiz && sfx === "%" && CSSPlugin.cacheWidths !== false) {
|
186
|
+
cache = node._gsCache = node._gsCache || {};
|
187
|
+
cache.time = time;
|
188
|
+
cache.width = pix / v * 100;
|
189
|
+
}
|
181
190
|
if (pix === 0 && !recurse) {
|
182
191
|
pix = _convertToPixels(t, p, v, sfx, true);
|
183
192
|
}
|
@@ -553,7 +562,7 @@
|
|
553
562
|
while (mpt) {
|
554
563
|
val = proxy[mpt.v];
|
555
564
|
if (mpt.r) {
|
556
|
-
val =
|
565
|
+
val = Math.round(val);
|
557
566
|
} else if (val < min && val > -min) {
|
558
567
|
val = 0;
|
559
568
|
}
|
@@ -1447,7 +1456,6 @@
|
|
1447
1456
|
v = vars,
|
1448
1457
|
endRotations = {},
|
1449
1458
|
m2, skewY, copy, orig, has3D, hasChange, dr;
|
1450
|
-
|
1451
1459
|
if (typeof(v.transform) === "string" && _transformProp) { //for values like transform:"rotate(60deg) scale(0.5, 0.8)"
|
1452
1460
|
copy = style.cssText;
|
1453
1461
|
style[_transformProp] = v.transform;
|
@@ -1732,6 +1740,9 @@
|
|
1732
1740
|
var _removeProp = function(s, p) {
|
1733
1741
|
if (p) {
|
1734
1742
|
if (s.removeProperty) {
|
1743
|
+
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)
|
1744
|
+
p = "M" + p.substr(1);
|
1745
|
+
}
|
1735
1746
|
s.removeProperty(p.replace(_capsExp, "-$1").toLowerCase());
|
1736
1747
|
} else { //note: old versions of IE use "removeAttribute()" instead of "removeProperty()"
|
1737
1748
|
s.removeAttribute(p);
|
@@ -2004,7 +2015,7 @@
|
|
2004
2015
|
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.
|
2005
2016
|
|
2006
2017
|
//if the beginning/ending suffixes don't match, normalize them...
|
2007
|
-
if (bsfx !== esfx) if (esfx !== "") if (en || en === 0) if (bn
|
2018
|
+
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!
|
2008
2019
|
bn = _convertToPixels(target, p, bn, bsfx);
|
2009
2020
|
if (esfx === "%") {
|
2010
2021
|
bn /= _convertToPixels(target, p, 100, "%") / 100;
|
@@ -2016,7 +2027,7 @@
|
|
2016
2027
|
bn /= _convertToPixels(target, p, 1, "em");
|
2017
2028
|
|
2018
2029
|
//otherwise convert to pixels.
|
2019
|
-
} else {
|
2030
|
+
} else if (esfx !== "px") {
|
2020
2031
|
en = _convertToPixels(target, p, en, esfx);
|
2021
2032
|
esfx = "px"; //we don't use bsfx after this, so we don't need to set it to px too.
|
2022
2033
|
}
|
@@ -2071,7 +2082,7 @@
|
|
2071
2082
|
while (pt) {
|
2072
2083
|
val = pt.c * v + pt.s;
|
2073
2084
|
if (pt.r) {
|
2074
|
-
val =
|
2085
|
+
val = Math.round(val);
|
2075
2086
|
} else if (val < min) if (val > -min) {
|
2076
2087
|
val = 0;
|
2077
2088
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION:
|
3
|
-
* DATE:
|
2
|
+
* VERSION: 0.1.6
|
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.
|
@@ -228,6 +228,7 @@
|
|
228
228
|
window._gsDefine.plugin({
|
229
229
|
propName: "easel",
|
230
230
|
priority: -1,
|
231
|
+
version: "0.1.6",
|
231
232
|
API: 2,
|
232
233
|
|
233
234
|
//called when the tween renders for the first time. This is where initial values should be recorded and any setup routines should run.
|
@@ -277,7 +278,7 @@
|
|
277
278
|
while (pt) {
|
278
279
|
val = pt.c * v + pt.s;
|
279
280
|
if (pt.r) {
|
280
|
-
val =
|
281
|
+
val = Math.round(val);
|
281
282
|
} else if (val < min && val > -min) {
|
282
283
|
val = 0;
|
283
284
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 0.1.
|
3
|
-
* DATE: 2014-
|
2
|
+
* VERSION: 0.1.1
|
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.
|
@@ -16,7 +16,7 @@
|
|
16
16
|
window._gsDefine.plugin({
|
17
17
|
propName: "endArray",
|
18
18
|
API: 2,
|
19
|
-
version: "0.1.
|
19
|
+
version: "0.1.1",
|
20
20
|
|
21
21
|
//called when the tween renders for the first time. This is where initial values should be recorded and any setup routines should run.
|
22
22
|
init: function(target, value, tween) {
|
@@ -53,8 +53,7 @@
|
|
53
53
|
if (this._round) {
|
54
54
|
while (--i > -1) {
|
55
55
|
e = a[i];
|
56
|
-
|
57
|
-
target[e.i] = (val + ((val > 0) ? 0.5 : -0.5)) | 0; //about 4x faster than Math.round();
|
56
|
+
target[e.i] = Math.round(e.s + e.c * ratio);
|
58
57
|
}
|
59
58
|
} else {
|
60
59
|
while (--i > -1) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION:
|
3
|
-
* DATE:
|
2
|
+
* VERSION: 0.2.1
|
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.
|
@@ -112,6 +112,7 @@
|
|
112
112
|
|
113
113
|
RaphaelPlugin = window._gsDefine.plugin({
|
114
114
|
propName: "raphael",
|
115
|
+
version: "0.2.1",
|
115
116
|
API: 2,
|
116
117
|
|
117
118
|
//called when the tween renders for the first time. This is where initial values should be recorded and any setup routines should run.
|
@@ -218,7 +219,7 @@
|
|
218
219
|
while (pt) {
|
219
220
|
val = pt.c * v + pt.s;
|
220
221
|
if (pt.r) {
|
221
|
-
val =
|
222
|
+
val = Math.round(val);
|
222
223
|
}
|
223
224
|
if (!pt.type) {
|
224
225
|
pt.t[pt.p] = val;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
|
-
* VERSION: 0.10.
|
3
|
-
* DATE: 2014-
|
2
|
+
* VERSION: 0.10.2
|
3
|
+
* DATE: 2014-04-18
|
4
4
|
* UPDATES AND DOCS AT: http://www.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/).
|
@@ -49,7 +49,7 @@
|
|
49
49
|
_addToRenderQueue = function(func) {
|
50
50
|
_renderQueue.push(func);
|
51
51
|
if (_renderQueue.length === 1) {
|
52
|
-
TweenLite.ticker.addEventListener("tick", _renderQueueTick);
|
52
|
+
TweenLite.ticker.addEventListener("tick", _renderQueueTick, this, false, 1);
|
53
53
|
}
|
54
54
|
},
|
55
55
|
_removeFromRenderQueue = function(func) {
|
@@ -233,7 +233,7 @@
|
|
233
233
|
_hasReparentBug, //we'll set this inside the _getOffset2DMatrix() method after the body has loaded.
|
234
234
|
_getOffsetTransformOrigin = function(e, decoratee) {
|
235
235
|
decoratee = decoratee || {};
|
236
|
-
if (!e || e ===
|
236
|
+
if (!e || e === _docElement || !e.parentNode) {
|
237
237
|
return {x:0, y:0};
|
238
238
|
}
|
239
239
|
var cs = _getComputedStyle(e),
|
@@ -252,10 +252,12 @@
|
|
252
252
|
return decoratee;
|
253
253
|
},
|
254
254
|
_getOffset2DMatrix = function(e, offsetOrigin, parentOffsetOrigin) {
|
255
|
-
var cs, m;
|
255
|
+
var cs, m, parent, offsetParent;
|
256
256
|
if (e === window || !e || !e.parentNode) {
|
257
257
|
return [1,0,0,1,0,0];
|
258
258
|
}
|
259
|
+
parent = e.parentNode;
|
260
|
+
offsetParent = e.offsetParent;
|
259
261
|
cs = _getComputedStyle(e);
|
260
262
|
m = cs ? cs.getPropertyValue(_transformCSSProp) : e.currentStyle ? e.currentStyle[_transformProp] : "1,0,0,1,0,0";
|
261
263
|
m = (m + "").match(/(?:\-|\b)[\d\-\.e]+\b/g) || [1,0,0,1,0,0];
|
@@ -263,8 +265,9 @@
|
|
263
265
|
m = [m[0], m[1], m[4], m[5], m[12], m[13]];
|
264
266
|
}
|
265
267
|
if (offsetOrigin) {
|
266
|
-
m[4] = Number(m[4]) + offsetOrigin.x + e.offsetLeft - parentOffsetOrigin.x;
|
267
|
-
m[5] = Number(m[5]) + offsetOrigin.y + e.offsetTop - parentOffsetOrigin.y;
|
268
|
+
m[4] = Number(m[4]) + offsetOrigin.x + e.offsetLeft - parentOffsetOrigin.x - (parent !== _doc.body ? parent.scrollLeft : 0) + (offsetParent ? parseInt(_getStyle(offsetParent, "borderLeftWidth"), 10) || 0 : 0);
|
269
|
+
m[5] = Number(m[5]) + offsetOrigin.y + e.offsetTop - parentOffsetOrigin.y - (parent !== _doc.body ? parent.scrollTop : 0) + (offsetParent ? parseInt(_getStyle(offsetParent, "borderTopWidth"), 10) || 0 : 0);
|
270
|
+
|
268
271
|
//some browsers (like Chrome 31) have a bug that causes the offsetParent not to report correctly when a transform is applied to an element's parent, so the offsetTop and offsetLeft are measured from the parent instead of whatever the offsetParent reports as. For example, put an absolutely-positioned child div inside a position:static parent, then check the child's offsetTop before and after you apply a transform, like rotate(1deg). You'll see that it changes, but the offsetParent doesn't. So we must sense this condition here (and we can only do it after the body has loaded, as browsers don't accurately report offsets otherwise) and set a variable that we can easily reference later.
|
269
272
|
if (_hasReparentBug === undefined && _doc.body && _transformProp) {
|
270
273
|
_hasReparentBug = (function() {
|
@@ -281,9 +284,9 @@
|
|
281
284
|
return value;
|
282
285
|
}());
|
283
286
|
}
|
284
|
-
if (
|
285
|
-
m[4] -=
|
286
|
-
m[5] -=
|
287
|
+
if (parent && parent.offsetParent === e.offsetParent && (!_hasReparentBug || _getOffset2DMatrix(parent).join("") === "100100")) {
|
288
|
+
m[4] -= parent.offsetLeft;
|
289
|
+
m[5] -= parent.offsetTop;
|
287
290
|
}
|
288
291
|
}
|
289
292
|
return m;
|
@@ -294,7 +297,7 @@
|
|
294
297
|
parentOriginOffset = _getOffsetTransformOrigin(e.parentNode, _point2),
|
295
298
|
m = _getOffset2DMatrix(e, originOffset, parentOriginOffset),
|
296
299
|
a, b, c, d, tx, ty, m2, determinant;
|
297
|
-
while ((e = e.parentNode) && e.parentNode && e !==
|
300
|
+
while ((e = e.parentNode) && e.parentNode && e !== _docElement) {
|
298
301
|
originOffset = parentOriginOffset;
|
299
302
|
parentOriginOffset = _getOffsetTransformOrigin(e.parentNode, (originOffset === _point1) ? _point2 : _point1);
|
300
303
|
m2 = _getOffset2DMatrix(e, originOffset, parentOriginOffset);
|
@@ -882,8 +885,12 @@
|
|
882
885
|
snapX = buildSnapFunc((snapIsRaw ? snap : snap.rotation), minX, maxX, 1);
|
883
886
|
snapY = null;
|
884
887
|
} else {
|
885
|
-
|
886
|
-
|
888
|
+
if (allowX) {
|
889
|
+
snapX = buildSnapFunc((snapIsRaw ? snap : snap.x || snap.left || snap.scrollLeft), minX, maxX, scrollProxy ? -1 : 1);
|
890
|
+
}
|
891
|
+
if (allowY) {
|
892
|
+
snapY = buildSnapFunc((snapIsRaw ? snap : snap.y || snap.top || snap.scrollTop), minY, maxY, scrollProxy ? -1 : 1);
|
893
|
+
}
|
887
894
|
}
|
888
895
|
}
|
889
896
|
|
@@ -931,12 +938,16 @@
|
|
931
938
|
}
|
932
939
|
},
|
933
940
|
|
934
|
-
|
935
|
-
var edgeTolerance = 1 - self.edgeResistance;
|
941
|
+
updateMatrix = function() {
|
936
942
|
matrix = _getConcatenatedMatrix(target.parentNode, true);
|
937
|
-
if (!matrix[1] && !matrix[2] && matrix[0] == 1 && matrix[3] == 1) { //if there are no transforms, we can optimize performance by not factoring in the matrix
|
943
|
+
if (!matrix[1] && !matrix[2] && matrix[0] == 1 && matrix[3] == 1 && matrix[4] == 0 && matrix[5] == 0) { //if there are no transforms, we can optimize performance by not factoring in the matrix
|
938
944
|
matrix = null;
|
939
945
|
}
|
946
|
+
},
|
947
|
+
|
948
|
+
recordStartPositions = function() {
|
949
|
+
var edgeTolerance = 1 - self.edgeResistance;
|
950
|
+
updateMatrix();
|
940
951
|
if (scrollProxy) {
|
941
952
|
calculateBounds();
|
942
953
|
startElementY = scrollProxy.top();
|
@@ -1286,6 +1297,7 @@
|
|
1286
1297
|
_dispatchEvent(self, "dragstart", "onDragStart");
|
1287
1298
|
}
|
1288
1299
|
};
|
1300
|
+
this.drag = onMove;
|
1289
1301
|
this.endDrag = function(e) {
|
1290
1302
|
onRelease(e, true);
|
1291
1303
|
};
|
@@ -1336,6 +1348,7 @@
|
|
1336
1348
|
this.update = function(applyBounds) {
|
1337
1349
|
var x = self.x,
|
1338
1350
|
y = self.y;
|
1351
|
+
updateMatrix();
|
1339
1352
|
if (applyBounds) {
|
1340
1353
|
self.applyBounds();
|
1341
1354
|
} else {
|
@@ -1456,7 +1469,7 @@
|
|
1456
1469
|
p.constructor = Draggable;
|
1457
1470
|
p.pointerX = p.pointerY = 0;
|
1458
1471
|
p.isDragging = p.isPressed = false;
|
1459
|
-
Draggable.version = "0.10.
|
1472
|
+
Draggable.version = "0.10.2";
|
1460
1473
|
Draggable.zIndex = 1000;
|
1461
1474
|
|
1462
1475
|
_addListener(_doc, "touchcancel", function() {
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: greensock-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.7.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: 2014-
|
11
|
+
date: 2014-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: This gem provides TweenMax, TweenLite, TimelineMax, TimelineLite, and
|
@@ -71,50 +71,6 @@ files:
|
|
71
71
|
- vendor/assets/javascripts/greensock/plugins/TEMPLATE_Plugin.js
|
72
72
|
- vendor/assets/javascripts/greensock/plugins/TextPlugin.js
|
73
73
|
- vendor/assets/javascripts/greensock/utils/Draggable.js
|
74
|
-
- vendor/bundle/cache/rake-10.2.2.gem
|
75
|
-
- vendor/bundle/gems/rake-10.2.2/doc/command_line_usage.rdoc
|
76
|
-
- vendor/bundle/gems/rake-10.2.2/doc/example/Rakefile1
|
77
|
-
- vendor/bundle/gems/rake-10.2.2/doc/example/Rakefile2
|
78
|
-
- vendor/bundle/gems/rake-10.2.2/doc/example/a.c
|
79
|
-
- vendor/bundle/gems/rake-10.2.2/doc/example/b.c
|
80
|
-
- vendor/bundle/gems/rake-10.2.2/doc/example/main.c
|
81
|
-
- vendor/bundle/gems/rake-10.2.2/doc/glossary.rdoc
|
82
|
-
- vendor/bundle/gems/rake-10.2.2/doc/jamis.rb
|
83
|
-
- vendor/bundle/gems/rake-10.2.2/doc/proto_rake.rdoc
|
84
|
-
- vendor/bundle/gems/rake-10.2.2/doc/rake.1.gz
|
85
|
-
- vendor/bundle/gems/rake-10.2.2/doc/rakefile.rdoc
|
86
|
-
- vendor/bundle/gems/rake-10.2.2/doc/rational.rdoc
|
87
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.4.14.rdoc
|
88
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.4.15.rdoc
|
89
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.5.0.rdoc
|
90
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.5.3.rdoc
|
91
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.5.4.rdoc
|
92
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.6.0.rdoc
|
93
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.0.rdoc
|
94
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.1.rdoc
|
95
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.2.rdoc
|
96
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.7.3.rdoc
|
97
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.0.rdoc
|
98
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.2.rdoc
|
99
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.3.rdoc
|
100
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.4.rdoc
|
101
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.5.rdoc
|
102
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.6.rdoc
|
103
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.8.7.rdoc
|
104
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.0.rdoc
|
105
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.1.rdoc
|
106
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.2.2.rdoc
|
107
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.2.rdoc
|
108
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.3.rdoc
|
109
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.4.rdoc
|
110
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.5.rdoc
|
111
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-0.9.6.rdoc
|
112
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.0.rdoc
|
113
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.1.rdoc
|
114
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.2.rdoc
|
115
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.0.3.rdoc
|
116
|
-
- vendor/bundle/gems/rake-10.2.2/doc/release_notes/rake-10.1.0.rdoc
|
117
|
-
- vendor/cache/rake-10.2.2.gem
|
118
74
|
homepage: https://rubygems.org/gems/greensock-rails/
|
119
75
|
licenses:
|
120
76
|
- Copyright (c) 2014, GreenSock.
|
@@ -125,12 +81,12 @@ require_paths:
|
|
125
81
|
- lib
|
126
82
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
83
|
requirements:
|
128
|
-
- -
|
84
|
+
- - ">="
|
129
85
|
- !ruby/object:Gem::Version
|
130
86
|
version: '0'
|
131
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
88
|
requirements:
|
133
|
-
- -
|
89
|
+
- - ">="
|
134
90
|
- !ruby/object:Gem::Version
|
135
91
|
version: '0'
|
136
92
|
requirements: []
|
Binary file
|
@@ -1,158 +0,0 @@
|
|
1
|
-
= Rake Command Line Usage
|
2
|
-
|
3
|
-
Rake is invoked from the command line using:
|
4
|
-
|
5
|
-
% rake [options ...] [VAR=VALUE ...] [targets ...]
|
6
|
-
|
7
|
-
Options are:
|
8
|
-
|
9
|
-
[<tt><em>name</em>=<em>value</em></tt>]
|
10
|
-
Set the environment variable <em>name</em> to <em>value</em>
|
11
|
-
during the execution of the <b>rake</b> command. You can access
|
12
|
-
the value by using ENV['<em>name</em>'].
|
13
|
-
|
14
|
-
[<tt>--all</tt> (-A)]
|
15
|
-
Used in combination with the -T and -D options, will force
|
16
|
-
those options to show all the tasks, even the ones without comments.
|
17
|
-
|
18
|
-
[<tt>--backtrace</tt>{=_output_} (-n)]
|
19
|
-
Enable a full backtrace (i.e. like --trace, but without the task
|
20
|
-
tracing details). The _output_ parameter is optional, but if
|
21
|
-
specified it controls where the backtrace output is sent. If
|
22
|
-
_output_ is <tt>stdout</tt>, then backtrace output is directed to
|
23
|
-
stardard output. If _output_ is <tt>stderr</tt>, or if it is
|
24
|
-
missing, then the backtrace output is sent to standard error.
|
25
|
-
|
26
|
-
[<tt>--comments</tt>]
|
27
|
-
Used in combination with the -W options to force the output to
|
28
|
-
contain commented options only. This is the reverse of
|
29
|
-
<tt>--all</tt>.
|
30
|
-
|
31
|
-
[<tt>--describe</tt> _pattern_ (-D)]
|
32
|
-
Describe the tasks (matching optional PATTERN), then exit.
|
33
|
-
|
34
|
-
[<tt>--dry-run</tt> (-n)]
|
35
|
-
Do a dry run. Print the tasks invoked and executed, but do not
|
36
|
-
actually execute any of the actions.
|
37
|
-
|
38
|
-
[<tt>--execute</tt> _code_ (-e)]
|
39
|
-
Execute some Ruby code and exit.
|
40
|
-
|
41
|
-
[<tt>--execute-print</tt> _code_ (-p)]
|
42
|
-
Execute some Ruby code, print the result, and exit.
|
43
|
-
|
44
|
-
[<tt>--execute-continue</tt> _code_ (-E)]
|
45
|
-
Execute some Ruby code, then continue with normal task processing.
|
46
|
-
|
47
|
-
[<tt>--help</tt> (-H)]
|
48
|
-
Display some help text and exit.
|
49
|
-
|
50
|
-
[<tt>--jobs</tt> _number_ (-j)]
|
51
|
-
|
52
|
-
Specifies the maximun number of concurrent threads allowed. Rake
|
53
|
-
will allocate threads as needed up to this maximum number.
|
54
|
-
|
55
|
-
If omitted, Rake will attempt to estimate the number of CPUs on
|
56
|
-
the system and add 4 to that number.
|
57
|
-
|
58
|
-
The concurrent threads are used to execute the <tt>multitask</tt>
|
59
|
-
prerequisites. Also see the <tt>-m</tt> option which turns all
|
60
|
-
tasks into multitasks.
|
61
|
-
|
62
|
-
Sample values:
|
63
|
-
(no -j) : Allow up to (# of CPUs + 4) number of threads
|
64
|
-
--jobs : Allow unlimited number of threads
|
65
|
-
--jobs=1 : Allow only one thread (the main thread)
|
66
|
-
--jobs=16 : Allow up to 16 concurrent threads
|
67
|
-
|
68
|
-
[<tt>--job-stats</tt> _level_]
|
69
|
-
|
70
|
-
Display job statistics at the completion of the run. By default,
|
71
|
-
this will display the requested number of active threads (from the
|
72
|
-
-j options) and the maximum number of threads in play at any given
|
73
|
-
time.
|
74
|
-
|
75
|
-
If the optional _level_ is <tt>history</tt>, then a complete trace
|
76
|
-
of task history will be displayed on standard output.
|
77
|
-
|
78
|
-
[<tt>--libdir</tt> _directory_ (-I)]
|
79
|
-
Add _directory_ to the list of directories searched for require.
|
80
|
-
|
81
|
-
[<tt>--multitask</tt> (-m)]
|
82
|
-
Treat all tasks as multitasks. ('make/drake' semantics)
|
83
|
-
|
84
|
-
[<tt>--nosearch</tt> (-N)]
|
85
|
-
Do not search for a Rakefile in parent directories.
|
86
|
-
|
87
|
-
[<tt>--prereqs</tt> (-P)]
|
88
|
-
Display a list of all tasks and their immediate prerequisites.
|
89
|
-
|
90
|
-
[<tt>--quiet</tt> (-q)]
|
91
|
-
Do not echo commands from FileUtils.
|
92
|
-
|
93
|
-
[<tt>--rakefile</tt> _filename_ (-f)]
|
94
|
-
Use _filename_ as the name of the rakefile. The default rakefile
|
95
|
-
names are +rakefile+ and +Rakefile+ (with +rakefile+ taking
|
96
|
-
precedence). If the rakefile is not found in the current
|
97
|
-
directory, +rake+ will search parent directories for a match. The
|
98
|
-
directory where the Rakefile is found will become the current
|
99
|
-
directory for the actions executed in the Rakefile.
|
100
|
-
|
101
|
-
[<tt>--rakelibdir</tt> _rakelibdir_ (-R)]
|
102
|
-
Auto-import any .rake files in RAKELIBDIR. (default is 'rakelib')
|
103
|
-
|
104
|
-
[<tt>--require</tt> _name_ (-r)]
|
105
|
-
Require _name_ before executing the Rakefile.
|
106
|
-
|
107
|
-
[<tt>--rules</tt>]
|
108
|
-
Trace the rules resolution.
|
109
|
-
|
110
|
-
[<tt>--silent (-s)</tt>]
|
111
|
-
Like --quiet, but also suppresses the 'in directory' announcement.
|
112
|
-
|
113
|
-
[<tt>--suppress-backtrace _pattern_ </tt>]
|
114
|
-
Line matching the regular expression _pattern_ will be removed
|
115
|
-
from the backtrace output. Note that the --backtrace option is the
|
116
|
-
full backtrace without these lines suppressed.
|
117
|
-
|
118
|
-
[<tt>--system</tt> (-g)]
|
119
|
-
Use the system wide (global) rakefiles. The project Rakefile is
|
120
|
-
ignored. By default, the system wide rakefiles are used only if no
|
121
|
-
project Rakefile is found. On Unix-like system, the system wide
|
122
|
-
rake files are located in $HOME/.rake. On a windows system they
|
123
|
-
are stored in $APPDATA/Rake.
|
124
|
-
|
125
|
-
[<tt>--no-system</tt> (-G)]
|
126
|
-
Use the project level Rakefile, ignoring the system-wide (global)
|
127
|
-
rakefiles.
|
128
|
-
|
129
|
-
[<tt>--tasks</tt> <em>pattern</em> (-T)]
|
130
|
-
Display a list of the major tasks and their comments. Comments
|
131
|
-
are defined using the "desc" command. If a pattern is given, then
|
132
|
-
only tasks matching the pattern are displayed.
|
133
|
-
|
134
|
-
[<tt>--trace</tt>{=_output_} (-t)]
|
135
|
-
Turn on invoke/execute tracing. Also enable full backtrace on
|
136
|
-
errors. The _output_ parameter is optional, but if specified it
|
137
|
-
controls where the trace output is sent. If _output_ is
|
138
|
-
<tt>stdout</tt>, then trace output is directed to stardard output.
|
139
|
-
If _output_ is <tt>stderr</tt>, or if it is missing, then trace
|
140
|
-
output is sent to standard error.
|
141
|
-
|
142
|
-
[<tt>--verbose</tt> (-v)]
|
143
|
-
Echo the Sys commands to standard output.
|
144
|
-
|
145
|
-
[<tt>--version</tt> (-V)]
|
146
|
-
Display the program version and exit.
|
147
|
-
|
148
|
-
[<tt>--where</tt> <em>pattern</em> (-W)]
|
149
|
-
Display tasks that match <em>pattern</em> and the file and line
|
150
|
-
number where the task is defined. By default this option will
|
151
|
-
display all tasks, not just the tasks that have descriptions.
|
152
|
-
|
153
|
-
[<tt>--no-deprecation-warnings</tt> (-X)]
|
154
|
-
Do not display the deprecation warnings.
|
155
|
-
|
156
|
-
In addition, any command line option of the form
|
157
|
-
<em>VAR</em>=<em>VALUE</em> will be added to the environment hash
|
158
|
-
<tt>ENV</tt> and may be tested in the Rakefile.
|