vendor/assets/javascripts/greensock/plugins/EaselPlugin.js in greensock-rails-1.19.1.2 vs vendor/assets/javascripts/greensock/plugins/EaselPlugin.js in greensock-rails-1.20.0.0
- old
+ new
@@ -1,8 +1,8 @@
/*!
- * VERSION: 0.2.1
- * DATE: 2017-01-17
+ * VERSION: 0.2.2
+ * DATE: 2017-06-19
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
@@ -227,11 +227,11 @@
_gsScope._gsDefine.plugin({
propName: "easel",
priority: -1,
- version: "0.2.1",
+ version: "0.2.2",
API: 2,
//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, value, tween, index) {
this._target = target;
@@ -313,12 +313,12 @@
(function(name) {
"use strict";
var getGlobal = function() {
return (_gsScope.GreenSockGlobals || _gsScope)[name];
};
- if (typeof(define) === "function" && define.amd) { //AMD
- define(["TweenLite"], getGlobal);
- } else if (typeof(module) !== "undefined" && module.exports) { //node
+ if (typeof(module) !== "undefined" && module.exports) { //node
require("../TweenLite.js");
module.exports = getGlobal();
+ } else if (typeof(define) === "function" && define.amd) { //AMD
+ define(["TweenLite"], getGlobal);
}
}("EaselPlugin"));
\ No newline at end of file