vendor/assets/javascripts/greensock/plugins/BezierPlugin.js in greensock-rails-1.14.2.0 vs vendor/assets/javascripts/greensock/plugins/BezierPlugin.js in greensock-rails-1.15.0.0
- old
+ new
@@ -1,8 +1,8 @@
/*!
- * VERSION: beta 1.3.3
- * DATE: 2014-07-17
+ * VERSION: beta 1.3.4
+ * DATE: 2014-11-15
* UPDATES AND DOCS AT: http://www.greensock.com
*
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
* This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
* Club GreenSock members, the software agreement that was issued with your membership.
@@ -17,10 +17,11 @@
var _RAD2DEG = 180 / Math.PI,
_r1 = [],
_r2 = [],
_r3 = [],
_corProps = {},
+ _globals = _gsScope._gsDefine.globals,
Segment = function(a, b, c, d) {
this.a = a;
this.b = b;
this.c = c;
this.d = d;
@@ -305,11 +306,11 @@
BezierPlugin = _gsScope._gsDefine.plugin({
propName: "bezier",
priority: -1,
- version: "1.3.3",
+ version: "1.3.4",
API: 2,
global:true,
//gets called when the tween renders for the first time. This is where initial values should be recorded and any setup routines should run.
init: function(target, vars, tween) {
@@ -497,10 +498,10 @@
BezierPlugin.quadraticToCubic = function(a, b, c) {
return new Segment(a, (2 * b + a) / 3, (2 * b + c) / 3, c);
};
BezierPlugin._cssRegister = function() {
- var CSSPlugin = _gsScope._gsDefine.globals.CSSPlugin;
+ var CSSPlugin = _globals.CSSPlugin;
if (!CSSPlugin) {
return;
}
var _internals = CSSPlugin._internals,
_parseToProxy = _internals._parseToProxy,