vendor/assets/javascripts/greensock/plugins/BezierPlugin.js in greensock-rails-1.19.1.2 vs vendor/assets/javascripts/greensock/plugins/BezierPlugin.js in greensock-rails-1.20.0.0

- old
+ new

@@ -1,8 +1,8 @@ /*! - * VERSION: 1.3.7 - * DATE: 2017-01-17 + * VERSION: 1.3.8 + * 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. @@ -312,11 +312,11 @@ BezierPlugin = _gsScope._gsDefine.plugin({ propName: "bezier", priority: -1, - version: "1.3.7", + version: "1.3.8", 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) { @@ -609,12 +609,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); } }("BezierPlugin"));